K
All community tools Terraform Provider Python SDK Prometheus Exporter Go Client

Terraform Provider

Manage your Hyperping monitors, status pages, incidents, healthchecks, and maintenance windows as Terraform resources.

Built and maintained by Develeap. Published on the Terraform Registry. Source code on GitHub.

Prerequisites

  • Terraform 1.0 or later
  • A Hyperping account with an API token (generate one from SettingsAPI)

Installation

Add the provider to your Terraform configuration:

terraform {
  required_providers {
    hyperping = {
      source  = "develeap/hyperping"
      version = "~> 1.0"
    }
  }
}

provider "hyperping" {
  api_key = var.hyperping_api_key
}

Run terraform init to download the provider.

Supported resources

ResourceDescription
hyperping_monitorHTTP/HTTPS uptime monitors with multi-region checks
hyperping_statuspagePublic status pages with customization
hyperping_statuspage_subscriberStatus page notification subscribers (email, SMS, Teams)
hyperping_incidentIncident management with status updates
hyperping_healthcheckCron job monitoring
hyperping_maintenanceScheduled maintenance windows
hyperping_outageOutage tracking and management

Example: create a monitor

resource "hyperping_monitor" "api" {
  name                 = "API Health Check"
  url                  = "https://api.example.com/health"
  protocol             = "http"
  check_frequency      = 60
  expected_status_code = "200"
  regions              = ["london", "virginia", "singapore"]
}

resource "hyperping_statuspage" "main" {
  name      = "Service Status"
  subdomain = "status-example"
  theme     = "dark"
}

resource "hyperping_statuspage_subscriber" "team" {
  statuspage_uuid = hyperping_statuspage.main.id
  type            = "email"
  email           = "team@example.com"
}

Import existing resources

You can import resources you already created in the Hyperping dashboard:

terraform import hyperping_monitor.api <monitor-id>

Find resource IDs in the Hyperping dashboard URL or via the List Monitors API.

Links