Data Source: azurerm_private_dns_txt_record

Use this data source to access information about an existing Private DNS TXT Record within Azure DNS.

Example Usage

resource "azurerm_private_dns_txt_record" "example" {
  name                = "test"
  zone_name           = "test-zone"
  resource_group_name = "test-rg"
}

output "private_dns_txt_record_id" {
  value = data.azurerm_private_dns_txt_record.example.id
}

Argument Reference

Attributes Reference


The record block supports:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: