Terraform module to configure Opsgenie Escalation
Create Opsgenie Escalation example
module "escalation" {
source = "git::https://github.com/cloudposse/terraform-opsgenie-incident-management.git//modules/escalation?ref=master"
escalation = {
name = module.label.id
owner_team_id = module.owner_team.team_id
rule = {
recipients = [{
type = "team"
id = module.escalation_team.team_id
}]
}
}
}
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)
Name | Default | Description | Required |
---|---|---|---|
escalation |
{} |
This variable is used to configure Opsgenie Escalation. | Yes |
Name | Description |
---|---|
escalation_name |
The name of the Opsgenie Escalation. |
escalation_id |
The ID of the Opsgenie Escalation. |