Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content based alert grouping is broken #778

Closed
mahsoud opened this issue Dec 2, 2023 · 2 comments · Fixed by #779
Closed

Content based alert grouping is broken #778

mahsoud opened this issue Dec 2, 2023 · 2 comments · Fixed by #779

Comments

@mahsoud
Copy link

mahsoud commented Dec 2, 2023

Terraform Version

  • Terraform v1.6.4
  • pagerduty/pagerduty v3.2.0 (signed by a HashiCorp partner, key ID 027C6DD1F0707B45)
  • pagerduty/pagerduty v3.2.1 (signed by a HashiCorp partner, key ID 027C6DD1F0707B45)

Affected Resource(s)

  • pagerduty_service

Terraform Configuration Files

resource "pagerduty_service" "pricing_data_dumping_active" {
  ...
  
  alert_grouping_parameters {
    type = "content_based"
    config {
      aggregate = "all"
      fields    = ["custom_details.source_id"]
    }
  }
 }

Expected Behavior

Configuration plan to succeed

Actual Behavior

Error: Alert grouping parameters configuration of type "content_based" only supports setting "aggregate" and "fields" attributes

Steps to Reproduce

  1. terraform plan

Workaround

revert to pagerduty/pagerduty v3.1.2

@imjaroiswebdev
Copy link
Contributor

A hotfix for this it's on its way, thanks for your patience on these inconveniences 😓

@imjaroiswebdev
Copy link
Contributor

Hi @mahsoud I suggest you to please upgrade your Terraform configuration to use PagerDuty Terraform provider version v3.2.2, so You will stop facing this issue. Once again, thank you for your patience and taking the time to report this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants