pagerduty_escalation_policy

Use this data source to get information about a specific escalation policy that you can use for other PagerDuty resources.

Example Usage

data "pagerduty_escalation_policy" "test" {
  name = "Engineering Escalation Policy"
}

resource "pagerduty_service" "test" {
  name                    = "My Web App"
  auto_resolve_timeout    = 14400
  acknowledgement_timeout = 600
  escalation_policy       = "${data.pagerduty_escalation_policy.test.id}"
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name to use to find an escalation policy in the PagerDuty API.

Attributes Reference

  • name - The short name of the found escalation policy.

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/pagerduty/d/escalation_policy.html