» 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

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