...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Additionally, define any one of the following parameter for parameters for the infoblox_aaaa_record
resource:
Parameter | Required/ | Description | Example Value |
---|---|---|---|
| Required only for static allocation | Specifies the IPv6 address to associate with the AAAA record.
|
|
| Required only for dynamic allocation | Specifies the network in the configured network view from which to allocate an IP address when the |
|
| Required only if | 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. |
|
Note |
---|
Note All parameters except |
...
// 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"
})
}