Use this data source to access information about an existing DNS CAA Record within Azure DNS.
data "azurerm_dns_caa_record" "example" {
name = "test"
zone_name = "test-zone"
resource_group_name = "test-rg"
}
output "dns_caa_record_id" {
value = data.azurerm_dns_caa_record.example.id
}
name
- The name of the DNS CAA Record.
resource_group_name
- Specifies the resource group where the DNS Zone (parent resource) exists.
zone_name
- Specifies the DNS Zone where the resource exists.
id
- The DNS CAA Record ID.
fqdn
- The FQDN of the DNS CAA Record.
ttl
- The Time To Live (TTL) of the DNS record in seconds.
record
- A list of values that make up the CAA record. Each record
block supports fields documented below.
tags
- A mapping of tags assigned to the resource.
The record
block supports:
flags
- Extensible CAA flags, currently only 1 is implemented to set the issuer critical flag.
tag
- A property tag, options are issue
, issuewild
and iodef
.
value
- A property value such as a registrar domain.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the DNS CAA Record.