pagerduty_automation_actions_runner

An Automation Actions runner is the method for how actions are executed. This can be done locally using an installed runner agent or as a connection to a PD Runbook Automation instance.

Example Usage

# Assumes the TF_VAR_RUNBOOK_API_KEY variable is defined in the environment

variable "RUNBOOK_API_KEY" {
  type = string
  sensitive = true
}

resource "pagerduty_automation_actions_runner" "example" {
  name = "Runner created via TF"
  description = "Description of the Runner created via TF"
  runner_type = "runbook"
  runbook_base_uri = "rdcat.stg"
  runbook_api_key = var.RUNBOOK_API_KEY
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Runners can be imported using the id, e.g.

resource "pagerduty_automation_actions_runner" "example" {
  name = "Runner created via TF"
  description = "Description of the Runner created via TF"
  runner_type = "runbook"
  runbook_base_uri = "rdcat.stg"
}
$ terraform import pagerduty_automation_actions_runner.example 01DER7CUUBF7TH4116K0M4WKPU