Manage OKStatus as code.

Provision monitors, alert channels, status pages and maintenance windows with Terraform: reviewable, version-controlled and repeatable across every environment.

Max+Official provider · clearcloud-fr/okstatus
main.tf terraform apply
terraform {
  required_providers {
    okstatus = {
      source = "clearcloud-fr/okstatus"
    }
  }
}

resource "okstatus_monitor" "api" {
  name                  = "Production API"
  url                   = "https://api.example.com/health"
  type                  = "http"
  interval              = 60
  regions               = ["fr-dc3", "de-fra", "nl-ams"]
  accepted_status_codes = ["200-299"]
}
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
6 resources · 3 data sources

What you configure in the UI, as code.

One provider for your monitoring setup. Data sources read your monitors, alert channels and organization.

monitorHTTP, TCP, ping, DNS
llm_monitorAI model canaries
alert_channelSlack, PagerDuty & more
status_pageBranding, theme, domain
incidentDeclared and updated as code
maintenanceScheduled windows
Your GitOps pipeline

Plan, review, apply.

Drops straight into the workflow you already run.

01 Plan terraform plan shows exactly which monitors and channels will change.
02 Review Monitoring changes go through pull requests like the rest of your infrastructure.
03 Apply Repeatable across staging, production and every environment you run.
FAQ

Questions about the Terraform provider.

All questions →

The provider uses the REST API, included from Max up.

Your first monitor in under a minute.

Free plan, no card. Hosted and operated in Europe.