pagerduty_escalation_policy

    0

    0

    lucycodes42

    Terraform snippets

    This policy defines a number of escalation loops and teams - two loops and two teams. The rule defines a delay in minutes for escalation from 10 to 60. The target specifies a user - in this case, whoever is assigned the id of pagerduty_user.example.id.

    Shortcut: tf_pagerduty_escalation_policy

    resource "pagerduty_escalation_policy" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       num_loops = 2
       teams     = ["\${pagerduty_team.example.id}"]
    
       rule {
           escalation_delay_in_minutes = 10
           target {
               type = "user"
               id   = "\${pagerduty_user.example.id}"
           }
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.