When importing the opsgenie_escalation resource, the repeat property does not get imported correctly. The escalation has a repeat clause in OpsGenie but when imported into state the property is empty:
Surprisingly enough, now after almost two years since the issue was initially reported it still exists. And we have no idea on how to adjust our code to avoid it.
Terraform Version
0.12.24
Affected Resource(s)
When importing the
opsgenie_escalation
resource, therepeat
property does not get imported correctly. The escalation has arepeat
clause in OpsGenie but when imported into state the property is empty:Expected Behavior
The
repeat
property should contain the same key-values as in OpsGenie.Actual Behavior
The
repeat
property is empty in the state file, causing a subsequentplan
to want to create that property.Steps to Reproduce
repeat
propertyterraform plan
repeat
section