terraformrunscope

I have the runscope api monitoring resources. I created these resources by using terraform. How can I cleanup these runscope services?


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
}

Solution

  • Use terraform destory or if you want to be more specific, use -target option:

    terraform destroy -target="runscope_test.api"