Overview
The Rootly Terraform provider lets you manage your entire Rootly configuration as code — severities, services, workflows, on-call schedules, escalation policies, form fields, alert routes, and more. With over 200 resources and 59 data sources, virtually every Rootly configuration object can be declared, versioned, and reviewed through your existing IaC pipeline.- Provider: rootlyhq/rootly on the Terraform Registry
- Current version: 5.10.0
- Minimum Terraform version: 1.0
- Downloads: 1.1M+
Authentication
The provider authenticates using a Rootly API token. Generate one from Account > API Tokens in your Rootly dashboard. You can supply credentials via the provider block or environment variables. The environment variable approach is recommended to avoid committing secrets. Environment variables (recommended):Installation
Declare the provider in your Terraform configuration and runterraform init:
Supported Resources
The provider covers 200+ resources across all major Rootly configuration areas.Incidents & On-Call
Incidents & On-Call
Manage the building blocks of incident response and on-call operations.
Alerts
Alerts
Configure alert routing, sources, urgencies, and grouping rules.
Workflows
Workflows
Automate incident response with workflows triggered by incidents, alerts, pulses, and more.
132 workflow task types are available as individual resources, covering integrations with Slack, Jira, PagerDuty, Datadog, GitHub, Notion, and many more. See the full resource list in the Terraform Registry.
Services & Catalog
Services & Catalog
Manage your service catalog, functionalities, and custom catalog entities.
Forms & Custom Fields
Forms & Custom Fields
Declare form fields, options, and placement rules for incident forms.
Retrospectives & Post-Mortems
Retrospectives & Post-Mortems
Manage retrospective templates and processes.
Status Pages
Status Pages
Manage status pages and their templates.
Communications & Roles
Communications & Roles
Manage communication templates, channels, and RBAC roles.
Data Sources
59 data sources let you reference existing Rootly resources in your configuration without managing them through Terraform.service, services, team, teams, severity, severities, environment, environments, functionality, functionalities, schedule, user, role, incident, workflow, alert_route, escalation_policy, on_call_role, and more.
Examples
Severities and services
On-call schedule with rotation
Workflow with Jira task
Custom form field
Importing Existing Resources
Resources already configured in Rootly can be imported into Terraform state without recreating them:Related Pages
Pulumi
Manage Rootly resources with Pulumi using JavaScript or TypeScript.
API Reference
Explore the full Rootly REST API that powers the Terraform provider.