pagerduty_incident_workflow

An Incident Workflow is a series of steps which can be executed on an incident.

Example Usage

resource "pagerduty_incident_workflow" "my_first_workflow" {
  name         = "Example Incident Workflow"
  description  = "This Incident Workflow is an example"
  step {
    name           = "Send Status Update"
    action         = "pagerduty.com:incident-workflows:send-status-update:1"
    input {
      name = "Message"
      value = "Example status message sent on {{current_date}}"
    }
  }
}

Argument Reference

The following arguments are supported:

Each incident workflow step (step) supports the following:

Each incident workflow step standard input (input) supports the following:

Each incident workflow step inline steps input (inline_steps_input) points to an input whose metadata describes the format as inlineSteps and supports the following:

Attributes Reference

The following attributes are exported:

Import

Incident workflows can be imported using the id, e.g.

$ terraform import pagerduty_incident_workflow.major_incident_workflow PLBP09X