--- layout: "pagerduty" page_title: "PagerDuty: pagerduty_escalation_policy" sidebar_current: "docs-pagerduty-resource-escalation_policy" description: |- Creates and manages an escalation policy in PagerDuty. --- # pagerduty\_escalation_policy An [escalation policy](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Escalation_Policies/get_escalation_policies) determines what user or schedule will be notified first, second, and so on when an incident is triggered. Escalation policies are used by one or more services. ## Example Usage ``` resource "pagerduty_user" "example" { name = "Earline Greenholt" email = "125.greenholt.earline@graham.name" teams = ["${pagerduty_team.example.id}"] } resource "pagerduty_escalation_policy" "example" { name = "Engineering" description = "Engineering Escalation Policy" num_loops = 2 escalation_rules = <