terraform-provider-ohdear

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 5 Imported by: 0

README

Terraform Provider OhDear

A Terraform Provider for Oh Dear.

Usage

The provider requires an api_token (or OHDEAR_TOKEN environment variable) and an optional api_url (OHDEAR_BASE_URL environment variable, defaults to "https://ohdear.app").

provider "ohdear" {
  api_token = "XXXX"
  api_url   = "https://ohdear.app" # optional
}

To add a site to Oh Dear, create a ohdear_site resource.

resource "ohdear_site" "fnord" {
  team_id = 1234
  url     = "https://site.iwanttomonitor.com"
}

By default, all site checks are enabled. You can turn off checks by setting them to false.

resource "ohdear_site" "fnord" {
  team_id                  = 1234
  url                      = "https://site.iwanttomonitor.com"
  broken_links             = false
  certificate_health       = false
  certificate_transparency = false
  mixed_content            = false
}

Requirements

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL