wtsi-hgi/terraform-provider-infoblox

Name: terraform-provider-infoblox

Owner: Wellcome Trust Sanger Institute - Human Genetics Informatics

Description: Infoblox plugin for Terraform

Forked from: prudhvitella/terraform-provider-infoblox

Created: 2017-09-26 10:23:20.0

Updated: 2017-09-26 10:23:22.0

Pushed: 2017-11-29 16:35:39.0

Homepage: null

Size: 4556

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build status

Terraform Infoblox Provider

The Infoblox provider is used to interact with the resources supported by Infoblox. The provider needs to be configured with the proper credentials before it can be used.

Download

Download builds for Darwin, Linux and Windows from the releases page.

Example Usage
nfigure the Infoblox provider
ider "infoblox" {
username = "${var.infoblox_username}"
password = "${var.infoblox_password}"
host  = "${var.infoblox_host}"
sslverify = "${var.infoblox_sslverify}"
usecookies = "${var.infoblox_usecookies}"


eate a record
urce "infoblox_record" "www" {
...

Argument Reference

The following arguments are supported:

infoblox_record

Provides a Infoblox record resource.

Example Usage
d a record to the domain
urce "infoblox_record" "foobar" {
value = "192.168.0.10"
name = "terraform"
domain = "mydomain.com"
type = "A"
ttl = 3600

Argument Reference

See related part of Infoblox Docs for details about valid values.

The following arguments are supported:

DNS Record Types

The type of record being created affects the interpretation of the value argument.

A Record CNAME Record AAAA Record
Attributes Reference

The following attributes are exported:

infoblox_ip

Queries the next available IP address from a network and returns it in a computed variable that can be used by the infoblox_record resource.

Example Usage
quire the next available IP from a network CIDR
 will create a variable called "ipaddress"
urce "infoblox_ip" "theIPAddress" {
cidr = "10.0.0.0/24"



d a record to the domain
urce "infoblox_record" "foobar" {
value = "${infoblox_ip.theIPAddress.ipaddress}"
name = "terraform"
domain = "mydomain.com"
type = "A"
ttl = 3600


clude specific IP addresses when acquiring next
aiable IP from a network CIDR
urce "infoblox_ip" "excludedIPAddress" {
cidr = "10.0.0.0/24"

exclude = [
    "10.0.0.1",
    "10.0.0.2"
    # etc.
]


quire gree IP address from within a specific
nge of addresses
urce "infoblox_ip" "ipAddressFromRange" {
ip_range = "10.0.0.20-10.0.0.60"

Argument Reference

The following arguments are supported:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.