avm-res-network-privatednszone
Azure/avm-res-network-privatednszone/azurerm
Terraform Azure Verified Resource Module for Private DNS Zone
Azure Verified Module for Private DNS Zone This module provides a generic way to create and manage Private DNS zones in Azure. To use this module in your Terraform configuration, you'll need to provide values for the required variables. Here's a basic example: `` module "azure_privatednszone" { source = "./path_to_this_module" // ... mandatory variables ... domain_name = "your.domain.com" resource_group_name = "existing_resourcegroup_name" // ... other optional variables, see example ... } ` NOTE: When this module is used and terraform plan is run after an initial successful deployment, the following example output(truncated for brevity) may be seen. This is due to updating of Terraform output resource value of number\_of\_record\_sets. Running apply will only update the Terraform output b
| Name | Type | Description | Default |
|---|---|---|---|
| domain_name | string | The name of the private dns zone. | required |
| parent_id | string | The ID of the parent resource. This is typically the ID of the resource group or | required |
| cname_records | map(object({ name = stri | A map of objects where each object contains information to create a CNAME record | {} |
| role_assignments | map(object({ role_definiti | A map of role assignments to create on the <RESOURCE>. The map key is delibera | {} |
| virtual_network_links | map(object({ vnetlinkname | A map of objects where each object contains information to create a virtual netw | {} |
| a_records | map(object({ name | A map of objects where each object contains information to create a A record. | {} |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| role_assignment_name_use_random_uuid | bool | A control to use a random UUID for the role assignment name. If set to false, th | true |
| soa_record | object({ email = st | optional soa_record variable, if included only email is required, rest are optio | null |
| tags | map(string) | (Optional) Tags of the resource. | null |
| timeouts | object({ dns_zones = optio | A map of timeouts objects, per resource type, to apply to the creation and destr | {
"dns_zones": {
"create": "30m",
|
| mx_records | map(object({ name = option | A map of objects where each object contains information to create a MX record. | {} |
| retry | object({ error_message_reg | Retry configuration for the resource operations | {} |
| txt_records | map(object({ name = string | A map of objects where each object contains information to create a TXT record. | {} |
| aaaa_records | map(object({ name | A map of objects where each object contains information to create a AAAA record. | {} |
| lock | object({ kind = string | Controls the Resource Lock configuration for this resource. The following prop | null |
| ptr_records | map(object({ name | A map of objects where each object contains information to create a PTR record. | {} |
| srv_records | map(object({ name = string | A map of objects where each object contains information to create a SRV record. | {} |
a_record_outputs — The a record outputaaaa_record_outputs — The aaaa record outputcname_record_outputs — The cname record outputmx_record_outputs — The mx record outputptr_record_outputs — The ptr record outputsoa_record_outputs — The srv record outputname — The name of private DNS zoneresource — The private dns zone outputresource_id — The resource id of private DNS zonesrv_record_outputs — The srv record outputtxt_record_outputs — The txt record outputvirtual_network_link_outputs — The virtual network link output