Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insert excerpt
infoblox_a_record Resource
infoblox_a_record Resource
nopaneltrue

Additionally, define any one of the following parameter for parameters for the infoblox_aaaa_record resource:

Parameter

Required/
Optional

Description

Example Value

ipv6_addr

Required only for static allocation

Specifies the IPv6 address to associate with the AAAA record.

  • For allocating a static IP address, specify a valid IP address.

  • For allocating a dynamic IP address, Configure cidr instead of ipv6_addr. If both fields are configured, the value of cidr is ignored.
    Instead. Optionally, set a network_view if you do not want to allocate it in the default network view.

2001:db8::ff00:42:8329

cidr

Required only for dynamic allocation

Specifies the network in the configured network view from which to allocate an IP address when the ipv6_addr field is empty.
The address is in CIDR format. For static allocation, Configure ipv6_addr instead of cidr.

2001::/64

filter_params

Required only if ipv6_addr and cidr are not set

Specifies the extensible attributes of the parent network that must be used as filters to retrieve the next available IP address for creating the record object.

jsonencode({
   "*Site": "Turkey"
    })

Note

Note

All parameters except fqdn are optional. If you do not specify the ipv6_addr parameter, you must use the cidr parameter for dynamic address allocation.
Specify a custom network view with cidr if you do not want to use the network view with the name default.

...

// set of all parameters to dynamically create an AAAA-record
resource "infoblox_aaaa_record" "aaaa_rec3" {
fqdn = "example1.org"
cidr = infoblox_ipv6_network.net2.cidr
network_view = infoblox_ipv6_network.net2.network_view // not necessarily in the
// same network view as the DNS view resides in.
comment = "example dynamic AAAA-record aaaa_rec3"
dns_view = "nondefault_dnsview1"
ttl = 0 // 0 = disable caching
ext_attrs = jsonencode({})
}

//create a AAAA record using next-available-IP address based on extensible attributes tag
resource "infoblox_aaaa_record" "aaaa_rec3" {
fqdn = "dyn1.test.com"
comment = "example dynamic AAAA-record aaaa_rec3, updated"
ttl = 60
ext_attrs = jsonencode({
"Location" = "65.8665701230204, -37.00791763398113"
})
filter_params = jsonencode({
"*Site": "Turkey"
})
}