Use this data source to get information about a specific Incident Custom Field.
data "pagerduty_incident_custom_field" "environment" {
name = "environment"
}
resource "pagerduty_incident_custom_field_option" "dev_environment" {
field = data.pagerduty_incident_custom_field.environment.id
datatype = "string"
value = "dev"
}
The following arguments are supported:
name
- (Required) The name of the field.id
- The ID of the found field.