What's new from Grafana Labsbreadcrumb arrow Manage incident roles, severities, and custom fields with Terraform
What's new from Grafana Labs
What's new from Grafana Labs
Grafana Cloud Generally Available IRM
Release date
2026-11-17

Manage incident roles, severities, and custom fields with Terraform

Define your Grafana IRM incident configuration as code. Three Terraform resources manage the incident roles, severities, and custom fields you’d otherwise configure in IRM > Settings > Incidents.

Use grafana_incident_role for the roles you assign to responders, grafana_incident_severity for the severities that express an incident’s impact, and grafana_incident_custom_field for the extra details you record on every incident. All three require version 4.55.0 or later of the Grafana Terraform provider.

Each resource supports archiving, so you can retire a role or severity without changing the incidents that already use it. You can also import existing configuration, apart from custom fields synced with Grafana labels.

hcl
resource "grafana_incident_custom_field" "affected_team" {
  name     = "Affected team"
  slug     = "affected_team"
  type     = "single-select"
  required = true

  select_option {
    label = "Platform"
    value = "platform"
  }
}

Related What's new posts