Use this data source to get information about a specific Global Event Orchestration
resource "pagerduty_event_orchestration" "tf_orch_a" {
name = "Test Event Orchestration"
}
data "pagerduty_event_orchestration" "tf_my_monitor" {
name = pagerduty_event_orchestration.tf_orch_a.name
}
resource "pagerduty_event_orchestration_router" "router" {
parent {
id = data.pagerduty_event_orchestration.tf_my_monitor.id
}
catch_all {
actions {
route_to = "unrouted"
}
}
set {
id = "start"
rule {
actions {
route_to = pagerduty_service.db.id
}
}
}
}
The following arguments are supported:
name
- (Required) The name of the Global Event orchestration to find in the PagerDuty API.id
- The ID of the found Event Orchestration.name
- The name of the found Event Orchestration.integration
- An integration for the Event Orchestration.
id
- ID of the integrationparameters
routing_key
- Routing key that routes to this Orchestration.type
- Type of the routing key. global
is the default type.