A terraform provider for creating records in Infoblox. Tested with Terraform 0.12.7 and Infoblox WAPI 2.10.1
Note that if someone manually updates/creates a record in Infoblox terraform will attempt to change it to what is defined in code.
Go version 1.12.7
go get -d
go build -o terraform-provider-infoblox
provider "infoblox" {
host = "server.example.com"
username = "user"
password = "changme"
wapi_version = "2.10.1"
tls_verify = false
}
resource "infoblox_a_record" "test" {
ipv4addr = "192.168.13.9"
name = "dev.service.domain.com"
comment = "Test of automation"
view = "Internal"
}
resource "infoblox_txt_record" "test" {
name = "example.service.domain.com"
text = "Test of automation"
view = "Internal"
}
resource "infoblox_cname_record" "test" {
name = "alias.service.domain.com"
canonical = "service.domain.com"
comment = "Test of automation"
view = "Internal"
}
- Add validations to byte arrays in POST and PUT requests
- Enhance logging to clearly indicate errors when constructing bodies
- Learn how to mock for
go test
- Configureable TTLs
- Add comment field to record:txt
- Go module support
- Extend functionality to support other Infoblox objects
Released under MIT LICENSE.