Terraform Provider for healthchecks.io
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
healthchecksio
.editorconfig
.gitignore
.goreleaser.yml
README.md
main.go

README.md

Terraform Provider for healthchecks.io

Provider configuration

Property Description Environment variable Type Required
api_key The healthchecks.io API Key HEALTHCHECKSIO_API_KEY string true

Example

provider "healthchecksio" {
  api_key = "{your api key}"
}

resource "healthchecksio_check" "test" {
  name = "test-check"

  tags = [
    "go",
    "gophers",
    "unite",
  ]

  grace = 120
  schedule = "0,30 2 * * *"
  timezone = "Asia/Tokyo"
}

More examples can be found in the examples directory.

Import

Checks can be imported using the uuid, e.g.

$ terraform import healthchecksio_check.my_first_check 760ca858-576a-432b-8b1f-378049d7ce96