Skip to main content
Latest Documentation
This is the latest documentation for the Cloud Posse Reference Architecture. To determine which version you're currently using, please see Version Identification.

escalation

Escalation

Terraform module to configure Opsgenie Escalation

Usage

Create Opsgenie Escalation example

module "escalation" {
source = "cloudposse/incident-management/opsgenie//modules/escalation"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"

escalation = {
name = module.label.id
owner_team_id = module.owner_team.team_id

rules = [{
recipient = {
type = "team"
id = module.escalation_team.team_id
}
}]
}

}

Inputs

Note: escalation is a map for two reasons:

  • to be able to put whole configuration in yaml file
  • variables defined with type set are not robust enough (can't set default values)
NameDefaultDescriptionRequired
escalation{}This variable is used to configure Opsgenie Escalation.Yes

Outputs

NameDescription
escalation_nameThe name of the Opsgenie Escalation.
escalation_idThe ID of the Opsgenie Escalation.