Open plaes opened 2 years ago
There also seems to be issue where 1-hour maintenances after their expiration time have changed their type from schedule
to for-1-hour
:
# module.maintenance["env"].opsgenie_maintenance.schedule["2022-08-01"] will be updated in-place
~ resource "opsgenie_maintenance" "schedule" {
id = "..."
# (1 unchanged attribute hidden)
~ time {
~ type = "for-1-hour" -> "schedule"
# (2 unchanged attributes hidden)
}
# (1 unchanged block hidden)
}
When currently attempting to create a opsgenie_maintenance with empty rules block, it will crash the provider.
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
OpsGenie provider should have caught it beforehand.
Actual Behavior
OpsGenie provider crashed