A routing key in VictorOps is used to route incoming alerts to specific escalation policies.
Note: Deletion of routing keys is not supported through the provider at this moment.
resource "victorops_routing_key" "infrastructure_high_severity" {
name = "infrastructure-high-severity"
targets = [victorops_escalation_policy.high_severity.id]
}
The following arguments are supported:
name
- (Required) Routing key name.targets
- (Required) A list of escalation policy ids to route alerts to.The following attributes are exported:
id
- The ID of the routing key.Import is not currently supported