Manage your Vibe OnCall setup as code. The Vibe OnCall Terraform provider lets you define teams, schedules, escalation policies, services, alert sources, and alert routing in Terraform files, review changes in a pull request, and apply them to your organization. It works with both Terraform and OpenTofu.
Write your on-call setup in code → review it like any other change → apply it to Vibe OnCall.
This page gets you started. The full reference for every setting lives on the Terraform Registry.
| In Vibe OnCall | Terraform resource |
|---|---|
| Teams and their members | vibeoncall_team, vibeoncall_team_membership |
| Schedules | vibeoncall_schedule |
| Escalation policies | vibeoncall_escalation_policy, vibeoncall_team_default_escalation_policy |
| Services | vibeoncall_service |
| Alert sources | vibeoncall_alert_source |
| Alert routing | vibeoncall_alert_route |
| Maintenance windows | vibeoncall_maintenance_window |
You can also look up things that already exist without managing them: members by email, teams, schedules, labels, and chat channels. Each has a data source page on the Registry.
Navigate to Administration → API Keys and click Create API Key.
Name it after where it runs, such as Terraform or Terraform CI, so its changes are easy to recognize later.
Choose an Access level. Full access is the simplest. To limit the key to what Terraform manages, choose Custom and select the matching actions:
Read-only keys can't make changes, so they don't work for Terraform.
Click Create API Key and copy the key. Store it in your secret manager or CI secrets, not in your Terraform files.
See API Key Management for expiration, rotation, and the request log.