When using type = "use_support_hours" in incident_urgency_rule you must specify exactly one (otherwise optional) support_hours block.
This is currently not verified in the provider. I noticed people sometimes put the support hours inside the incident_urgency_rule by mistake and no error pops up during the plan.
As per the documentation:
This is currently not verified in the provider. I noticed people sometimes put the support hours inside the incident_urgency_rule by mistake and no error pops up during the plan.
Terraform Version
1.6.6
Affected Resource(s)
pagerduty_service
Terraform Configuration Files
Debug Output
shows plan
Panic Output
none
Expected Behavior
should panic and the API request will result in 400
Actual Behavior
shows plan
Steps to Reproduce
terraform plan