digitalocean_uptime_check

Provides a DigitalOcean Uptime Checks resource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they're slow, unavailable, or SSL certificates are expiring.

Basic Example

# Create a new check for the target endpoint in a specifc region
resource "digitalocean_uptime_check" "foobar" {
  name    = "example-europe-check"
  target  = "https://www.example.com"
  regions = ["eu_west"]
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported.

Import

Uptime checks can be imported using the uptime check's id, e.g.

terraform import digitalocean_uptime_check.target 5a4981aa-9653-4bd1-bef5-d6bff52042e4