networking/dns_zone¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurerm_dns_zone.dns_zone["azurerm_dns_zone.dns_zone"]
module.records["module.records"]
random_string.dns_zone_name["random_string.dns_zone_name"]
module.records --> azurerm_dns_zone.dns_zone
Module Reference¶
Category: networking
Path: modules/networking/dns_zone
Azure Resources: azurerm_dns_zone, random_string
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
"resource_group_name" |
"(Required) The name of the resource group where to create the resource." | string |
yes | - |
- |
"client_config" |
"Client configuration object (see module README.md)." | any |
yes | - |
- |
"settings" |
"The settings for the Azure resource." | any |
yes | - |
- |
"global_settings" |
"Global settings object (see module README.md)" | any |
yes | - |
- |
"base_tags" |
"Base tags for the resource to be inherited from the resource group." | map(any) |
yes | - |
- |
"resource_ids" |
any |
no | {} |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
"id" |
"DNS Zone resource ID." | - | azurerm_dns_zone.dns_zone.id |
"name" |
"The fully qualified domain name of the Record Set." | - | length(azurerm_dns_zone.dns_zone.soa_record) > 0 ? regex("(.+).", azurerm_dns_zone.dns_zone.soa_record[0].fqdn)[0] : "" |
"resource_group_name" |
"Resource group name of the dns_zone" | - | var.resource_group_name |
"max_number_of_record_sets" |
"Maximum number of Records in the zone." | - | azurerm_dns_zone.dns_zone.max_number_of_record_sets |
"name_servers" |
"A list of values that make up the NS record for the zone." | - | azurerm_dns_zone.dns_zone.name_servers |
"soa_record" |
"The SOA record." | - | azurerm_dns_zone.dns_zone.soa_record |
"records" |
- | module.records |
Sources¶
modules/networking/dns_zone/locals.tfmodules/networking/dns_zone/locals_dns_zone.tfmodules/networking/dns_zone/main.tfmodules/networking/dns_zone/module.tfmodules/networking/dns_zone/outputs.tfmodules/networking/dns_zone/records.tfmodules/networking/dns_zone/variables.tf