Open OliverKlette85 opened 1 year ago
I got the same behaviour. Same versions of provider and TF.
I got the same behaviour: v0.6.20
same behaviour with v0.6.24 on my end.
Opsgenie fixed the underlying bug in their API — This should be resolved now. Can anyone try to reproduce?
just redeployed via terraform and it looks good. thx for the update
Terraform Version
Terraform v1.4.2 on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The terraform code should create a opsgenie_integration_action with two alerts ("Test 1" and "Test 2") if you run it initially. A second terraform plan/apply shouldn't show/perform any changes.
Actual Behavior
When you apply the code initially it creates the opsgenie_integration_action with the two alerts as expected, but if you plan it a second time, it shows unexpected changes (resorting of the alerts). If you apply the changes you can see both alerts created twice with the same names an contents (see screenshots). If you really doing a change (like changing a value of a field), it just duplicates the alert which wasn't changed.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
again (unexpected reordering)Important Factoids
The unexpected behaviour only happens if the responders argument is set for the alerts.