Skip to content

Commit

Permalink
Merge pull request #947 from cjgajard/alert-grouping-setting-migratio…
Browse files Browse the repository at this point in the history
…n-msg

Add link to migration docs in alert_grouping_parameters deprecation
  • Loading branch information
imjaroiswebdev authored Nov 4, 2024
2 parents bd578f0 + 86a59fd commit 52b6a0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pagerduty/resource_pagerduty_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func resourcePagerDutyService() *schema.Resource {
Optional: true,
Computed: true,
MaxItems: 1,
Deprecated: "Use a resource `pagerduty_alert_grouping_setting` instead",
Deprecated: "Use a resource `pagerduty_alert_grouping_setting` instead.\nFollow the migration guide at https://registry.terraform.io/providers/PagerDuty/pagerduty/latest/docs/resources/alert_grouping_setting#migration-from-alert_grouping_parameters",
ConflictsWith: []string{"alert_grouping", "alert_grouping_timeout"},
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/slack_connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ The following arguments are supported:
- `incident.status_update_published`
- `incident.reopened`
* `priorities` - (Optional) Allows you to filter events by priority. Needs to be an array of PagerDuty priority IDs. Available through [pagerduty_priority](https://registry.terraform.io/providers/PagerDuty/pagerduty/latest/docs/data-sources/priority) data source.
- When omitted or set to an empty array (`[]`) in the configuration for a Slack Connection, its default behaviour is to set `priorities` to `No Priority` value.
- When omitted or set to an empty array (`[]`) in the configuration for a Slack Connection, its default behavior is to set `priorities` to `No Priority` value.
- When set to `["*"]` its corresponding value for `priorities` in Slack Connection's configuration will be `Any Priority`.
* `urgency` - (Optional) Allows you to filter events by urgency. Either `high` or `low`.
* `urgency` - (Optional) Allows you to filter events by urgency. Either `high`, `low` or `null` for Any urgency. Default is `null`.

## Attributes Reference

Expand Down

0 comments on commit 52b6a0c

Please sign in to comment.