英文:
I have the runscope api monitoring resources. I created these resources by using terraform. How can I cleanup these runscope services?
问题
我使用 Terraform 创建了 Runscope API 监控资源。我想要使用 Terraform 进行清理。
resource "runscope_test" "api" {
name = "api-test"
description = "检查 API 是否正常运行"
bucket_id = runscope_bucket.main.id
}
英文:
I created runscope api monitoring resources by using terraform. I want to cleanup those by using terraform.
resource "runscope_test" "api" {
name = "api-test"
description = "checks the api is up and running"
bucket_id = runscope_bucket.main.id
}
答案1
得分: 2
使用terraform destroy或者如果你想更具体一些,可以使用-target选项:
terraform destroy -target="runscope_test.api"
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论