pagerduty_incident_custom_field_option

A Incident Custom Field Option is a specific value that can be used for an Incident Custom Field that only allow values from a set of fixed options, i.e. has the field_type of single_value_fixed or multi_value_fixed.

Example Usage

resource "pagerduty_incident_custom_field" "sre_environment" {
  name         = "environment"
  display_name = "Environment"
  data_type    = "string"
  field_type   = "single_value_fixed"
}

resource "pagerduty_incident_custom_field_option" "dev_environment" {
  field     = pagerduty_incident_custom_field.sre_environment.id
  data_type = "string"
  value     = "dev"
}

resource "pagerduty_incident_custom_field_option" "stage_environment" {
  field    = pagerduty_incident_custom_field.sre_environment.id
  data_type = "string"
  value    = "stage"
}

resource "pagerduty_incident_custom_field_option" "prod_environment" {
  field    = pagerduty_incident_custom_field.sre_environment.id
  data_type = "string"
  value    = "prod"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: