Manage Global Uptime Monitors as Code with Terraform & OpenTofu.
Provision, update, and import AlertOnDown monitors alongside your AWS, Cloudflare, or Kubernetes infrastructure using our official Go HashiCorp Plugin Framework (Protocol v6) provider.
source = "dubeychandan996/alertondown"
terraform {
required_providers {
alertondown = {
source = "dubeychandan996/alertondown"
version = "~> 1.0"
}
}
}
provider "alertondown" {
# Reads ALERTONDOWN_API_KEY from environment automatically
}
resource "alertondown_monitor" "checkout_api" {
friendly_name = "Checkout API (Prod)"
target_url = "https://api.example.com/health"
monitor_type = "http"
interval_sec = 60
expected_status_codes = "200"
check_ssl_errors = true
}What you get with AlertOnDown + Terraform & OpenTofu
Full CRUD + terraform import
Manage all 12 AlertOnDown monitor types declaratively and import existing workspace monitors cleanly.
Data Sources Included
Query existing monitors via data.alertondown_monitors inside shared Terraform modules.
GPG-Signed Multi-Platform Releases
Automated GoReleaser binaries for macOS, Linux, and Windows (amd64 & arm64).
Instant HCL Generator
Paste any URL list or Uptime Kuma backup into our Config Converter to export ready-to-apply main.tf.
Terraform & OpenTofu Integration FAQ
Does the provider work with both Terraform and OpenTofu?
Yes. It targets Protocol v6 with standard GPG-signed GoReleaser release archives compatible with both Terraform and OpenTofu.
How do I pass my AlertOnDown API key securely in CI?
Export ALERTONDOWN_API_KEY as a secret environment variable in GitHub Actions, GitLab CI, or Terraform Cloud—no hardcoded secrets in .tf files.