pagerduty_incident_workflow

Use this data source to get information about a specific Incident Workflow so that you can create a trigger for it.

Example Usage

data "pagerduty_incident_workflow" "my_workflow" {
  name = "Some Workflow Name"
}

data "pagerduty_service" "first_service" {
  name = "My First Service"
}

resource "pagerduty_incident_workflow_trigger" "automatic_trigger" {
  type       = "conditional"
  workflow   = data.pagerduty_incident_workflow.my_workflow.id
  services   = [data.pagerduty_service.first_service.id]
  condition  = "incident.priority matches 'P1'"
}

Argument Reference

The following arguments are supported:

Attributes Reference