Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

feat: Allow group alerts indefinitely for content base grouping [MCTB-5872] #18

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Make changes to the PagerDuty provider and post a pull request for review.
```terraform
provider_installation {
dev_overrides {
"pagerduty/pagerduty" = "/<ABSOLUTE_PATH_TO>/<YOUR_HOME_PATH>/go/bin"
"nordcloud/pagerduty" = "/<ABSOLUTE_PATH_TO>/<YOUR_HOME_PATH>/go/bin"
}
direct {}
}
Expand Down
2 changes: 1 addition & 1 deletion pagerduty/resource_pagerduty_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ func expandAlertGroupingConfig(v interface{}, groupingType string) *pagerduty.Al
agg := val.(string)
alertGroupingConfig.Aggregate = &agg
}
if val, ok := riur["timeout"]; ok && groupingType == "time" {
if val, ok := riur["timeout"]; ok && (groupingType == "time" || groupingType == "content_based") {
to := val.(int)
alertGroupingConfig.Timeout = &to
}
Expand Down
Loading