terraform-provider-mailinabox

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: Unlicense Imports: 5 Imported by: 0

README

Terraform Mail-in-a-Box Provider

This is an unofficial Mail-in-a-Box Terraform provider. Currently it only supports DNS record resources.

Configuration

Configuration is done either in the provider block or by using environment variables.

Provider block example:

provider "mailinabox" {
  url      = "https://mail.example.com"
  username = "admin@example.com"
  password = "abc123fireme"
}

Environment variable example:

export MAILINABOX_URL="https://mail.example.com"
export MAILINABOX_USERNAME="admin@example.com"
export MAININABOX_PASSWORD="abc123fireme"

Usage

provider "mailinabox" {}

resource "mailinabox_dnsrecord" "test" {
  domain = "testdomain.example.com"
  type   = "A"
  value  = "127.0.0.1"
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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