pagerduty_tag

Use this data source to get information about a specific tag that you can use to assign to users, teams, and escalation_policies.

Example Usage

data "pagerduty_user" "me" {
  email = "me@example.com"
}

data "pagerduty_tag" "devops" {
  label = "devops"
}

resource "pagerduty_tag_assignment" "foo" {
  tag_id      = data.pagerduty_tag.devops.id
  entity_id   = data.pagerduty_user.me.id
  entity_type = "users"
}

Argument Reference

The following arguments are supported:

Attributes Reference