terraform-provider-pagerduty
terraform-provider-pagerduty copied to clipboard
Feature Request: Flexible Time Window for Intelligent Alert Grouping
Would like to manage Flexible Time Window for Intelligent Alert Grouping using Terraform
Terraform Version
% terraform -v
Terraform v1.3.7
on darwin_amd64
+ provider registry.terraform.io/pagerduty/pagerduty v2.9.2
Affected Resource(s)
Please list the resources as a list, for example:
- pagerduty_service
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
resource "pagerduty_service" "this" {
name = "My Web App"
auto_resolve_timeout = 14400
acknowledgement_timeout = 600
escalation_policy = pagerduty_escalation_policy.foo.id
alert_creation = "create_alerts_and_incidents"
alert_grouping_parameters {
type = "intelligent"
config { time_window = 0 }
}
}
Debug Output
N/A
Panic Output
N/A
Expected Behavior
Expected Flexible Time Window for Intelligent Alert Grouping to have configured the recommended timeout
Actual Behavior
Got an Error
Error: Unsupported argument
│
│ on ../../pagerduty_service.tf line 36, in resource "pagerduty_service" "this":
│ 36: config { time_window = 0 }
│
│ An argument named "time_window" is not expected here.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
-
terraform plan
Important Factoids
N/A
References
N/A