You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation of pagerduty_alert_grouping_setting regarding the timeout is incorrect. Apparently, the PagerDuty APIs expects the value in seconds, while the documentation says it is in minutes.
PagerDuty Terraform Provider Documentation: says Duration is in minutes
Response from PagerDuty Terraform Apply: says Duration is expected in seconds
Terraform Version
v3.18.1
Affected Resource(s)
pagerduty_alert_grouping_setting
Terraform Configuration Files
resource"pagerduty_alert_grouping_setting""alert_grouping_time_based_2min" {
name="Time-Based Alert Grouping for 2 minutes"description="Managed by Terraform"type="time"config {
timeout=2
}
services=[
pagerduty_service.foo.id
]
}
Actual Behavior
400 Response from terraform apply: timeout: must be an integer between 60 and 86400 seconds.
Error: Error creating PagerDuty alert grouping setting Time-Based Alert Grouping for 2 minutes
with pagerduty_alert_grouping_setting.alert_grouping_time_based_2min,
on services.tf line 6, in resource "pagerduty_alert_grouping_setting" "alert_grouping_time_based_2min":
6: resource "pagerduty_alert_grouping_setting" "alert_grouping_time_based_2min" {
HTTP response failed with status code 400, message: Invalid Input Provided
(code: 0): timeout: must be an integer between 60 and 86400 seconds.
The documentation of
pagerduty_alert_grouping_setting
regarding the timeout is incorrect. Apparently, the PagerDuty APIs expects the value inseconds
, while the documentation says it is inminutes
.PagerDuty Terraform Provider Documentation: says Duration is in
minutes
Response from PagerDuty Terraform Apply: says Duration is expected in
seconds
Terraform Version
v3.18.1
Affected Resource(s)
Terraform Configuration Files
Actual Behavior
400
Response fromterraform apply
:timeout: must be an integer between 60 and 86400 seconds.
References
#935 (comment)
The text was updated successfully, but these errors were encountered: