We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform 1.5.1, provider registry.terraform.io/thousandeyes/thousandeyes v2.0.8
Plan should have shown the removal of the pagerduty integration from the alert rule
Plan shows "no changes"
data "thousandeyes_integration" "test_pd_service_integration" { integration_name = "test-pd-service" } resource "thousandeyes_alert_rule" "test_rule" { rule_name = "TEST ALERT RULE" alert_type = "HTTP Server" expression = "((errorType != \"None\"))" # Error Type is ANY minimum_sources = 1 rounds_violating_required = 1 rounds_violating_out_of = 1 notifications { dynamic "third_party" { for_each = [data.thousandeyes_integration.test_pd_service_integration] content { integration_id = third_party.value.integration_id integration_type = third_party.value.integration_type } } } }
No response
After running apply on the above code, change the foreach block to
for_each = []
to simulate the removal of the integration (e.g. if it is inside a module and the integration list is a var on the module)
the terraform plan will show No changes. Your infrastructure matches the configuration. instead of showing the desired removal.
No changes. Your infrastructure matches the configuration.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What versions are you using?
Terraform 1.5.1, provider registry.terraform.io/thousandeyes/thousandeyes v2.0.8
What did you expect to happen?
Plan should have shown the removal of the pagerduty integration from the alert rule
What actually happened?
Plan shows "no changes"
Terraform code to reproduce the bug
Any additional comments or code?
No response
Steps to reproduce the bug
After running apply on the above code, change the foreach block to
for_each = []
to simulate the removal of the integration (e.g. if it is inside a module and the integration list is a var on the module)
the terraform plan will show
No changes. Your infrastructure matches the configuration.
instead of showing the desired removal.The text was updated successfully, but these errors were encountered: