Closed JelleSmet-TomTom closed 3 weeks ago
Hi @JelleSmet-TomTom, this is the expected functionality from our API, due the officially supported value for the setting pagerduty_service.alert_grouping_parameters.0.config.0.time_window
through our REST API is >= 300 and <= 3600
.
Therefore, being that the PagerDuty Terraform provider is an interface to interact with our REST APIs, then the time_window
attribute accepts the supported input range.
I'm reopening this issue because of https://github.com/PagerDuty/terraform-provider-pagerduty/pull/876#issuecomment-2168257348.
Hi there,
Terraform Version
All versions. This is a provider error.
Affected Resource(s)
Terraform Configuration Files
Debug Output
n/a
Panic Output
n/a
Expected Behavior
The validation happening here should also allow for value
86400
. The PD api documentation does not mention this. The UI allows this (important) value to be set:When setting this value through the UI and then doing a GET on the service resource we can see the value to be
86400
:Actual Behavior
86400
as a value is refused by the Pagerduty provider through value validation.Steps to Reproduce
terraform apply
Important Factoids
n/a
References
n/a