pagerduty_automation_actions_runner_team_association

An Automation Actions runner association with a team configures the relation of a specific Runner with a Team.

Example Usage

resource "pagerduty_team" "team_ent_eng" {
  name        = "Enterprise Engineering"
  description = "Enterprise engineering"
}

resource "pagerduty_automation_actions_runner" "pa_runbook_runner" {
    name = "Runner created via TF"
    description = "Description of the Runner created via TF"
    runner_type = "runbook"
    runbook_base_uri = "cat-cat"
    runbook_api_key = "cat-secret"
}

resource "pagerduty_automation_actions_runner_team_association" "pa_runner_ent_eng_assoc" {
  runner_id = pagerduty_automation_actions_runner.pa_runbook_runner.id
  team_id   = pagerduty_team.team_ent_eng.id
}

Argument Reference

The following arguments are supported:

Import

Runner team association can be imported using the runner_id and team_id separated by a colon, e.g.

$ terraform import pagerduty_automation_actions_runner_team_association.example 01DER7CUUBF7TH4116K0M4WKPU:PLB09Z