pagerduty_incident_custom_field

An Incident Custom Field defines a field which can be set on incidents in the target account.

Example Usage

resource "pagerduty_incident_custom_field" "cs_impact" {
  name         = "impact"
  display_name = "Customer Impact"
  data_type    = "string"
  field_type   = "single_value"
}

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" "false_alarm" {
  name          = "false_alarm"
  display_name  = "False Alarm"
  data_type     = "boolean"
  field_type    = "single_value"
  default_value = "false"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

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

$ terraform import pagerduty_incident_custom_field.sre_environment PLBP09X