...
Parameter | Description | Example |
---|---|---|
| The DNS view in which the record's zone exists. |
|
| The fully qualified domain name to which a textual value is assigned. |
|
| The textual value for the TXT record. |
|
| The zone that contains the record. |
|
| The Time to Live value of the record, in seconds. |
|
| A description of the record. This is a regular comment. |
|
| The set of extensible attributes of the record, if any. The content is formatted as a string of JSON map. |
|
...
resource "infoblox_txt_record" "rec3" {
dns_view = "nondefault_dnsview1"
fqdn = "example3.example2.org"
text = "\"data for TXT-record #3\""
ttl = 300
comment = "example TXT record #3"
ext_attrs = jsonencode({
"Location" = "65.8665701230204, -37.00791763398113"
})
}
data "infoblox_txt_record" "ds3" {
filters = {
dns_view = "nondefault_dnsview1"
fqdn name = "example3.example2.org"
text = "\"data for TXT-record #3\""
}
// This is just to ensure that the record has been be created
// using 'infoblox_txt_record' resource block before the data source will be queried.
depends_on = [infoblox_txt_record.rec3]
}
...