resource "opsgenie_service_incident_rule" "pingdom" {
for_each = toset(["service1", "service2", "service3"]
service_id = resource.opsgenie_service.service[each.value].id
incident_rule {
condition_match_type = "match-all-conditions"
conditions {
field = "source"
not = false
operation = "equals"
expected_value = "Pingdom"
}
conditions {
field = "description"
not = false
operation = "matches"
expected_value = ".*Check Name : ${var.site}/${each.value}:.*"
}
conditions {
field = "tags"
not = true
operation = "contains"
expected_value = "no-incident"
}
...
After running apply and then apply/plan again, some of the conditions have changed order, which is causing in-place updates (though nothing has changed):
I have following resources:
After running apply and then apply/plan again, some of the conditions have changed order, which is causing in-place updates (though nothing has changed):
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example: