terraform-provider-monit24

command module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 3 Imported by: 0

README

Monit24.pl Terraform Provider

See full documentation on the Terraform Registry docs.

Usage

terraform {
  required_providers {
    monit24 = {
      version = ">= 0.1.2"
      source  = "monit24/monit24"
    }
  }
}

provider "monit24" {}

resource "monit24_group" "example" {
  name = "An example group"
}

resource "monit24_notification_address" "email" {
  address                 = "notifications@example.com"
  notification_channel_id = "email"
  group_id                = monit24_group.example.id
  description             = "An example notification email address"
}

resource "monit24_service" "test_https_service" {
  type_id     = "https"
  name        = "https example.com"
  description = "An example https service"
  address     = "example.com"
  group_id    = monit24_group.example.id
}

See examples for in-depth usage.

Authentication

Fill the user and password directly in the provider (preferably via Terraform's variables).

provider "monit24" {
    user     = "username"
    password = "topsecret"
}

Alternatively, provide MONIT24_USER and MONIT24_PASSWORD environment variables.

provider "monit24" {}
export MONIT24_USER=
export MONIT24_PASSWORD=

Contributing

See CONTRIBUTING.md

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