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

Fix Terraform user -> user_reference example typo for pagerduty_escalation_policy resource #497

Merged
merged 1 commit into from
May 18, 2022
Merged
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
6 changes: 2 additions & 4 deletions website/docs/r/escalation_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ resource "pagerduty_escalation_policy" "example" {
rule {
escalation_delay_in_minutes = 10
target {
type = "user"
type = "user_reference"
id = pagerduty_user.example.id
}
target {
type = "user"
type = "user_reference"
id = pagerduty_user.example2.id
}
}
Expand All @@ -55,13 +55,11 @@ The following arguments are supported:
* `num_loops` - (Optional) The number of times the escalation policy will repeat after reaching the end of its escalation.
* `rule` - (Required) An Escalation rule block. Escalation rules documented below.


Escalation rules (`rule`) supports the following:

* `escalation_delay_in_minutes` - (Required) The number of minutes before an unacknowledged incident escalates away from this rule.
* `targets` - (Required) A target block. Target blocks documented below.


Targets (`target`) supports the following:

* `type` - (Optional) Can be `user_reference` or `schedule_reference`. Defaults to `user_reference`. For multiple users as example, repeat the target.
Expand Down