avm-res-network-privatednszone

Azure/avm-res-network-privatednszone/azurerm

Terraform Module HCL AZURERM ✓ Verified

Terraform Azure Verified Resource Module for Private DNS Zone

Install
module "avm-res-network-privatednszone" {
source = "Azure/avm-res-network-privatednszone/azurerm"
version = "0.5.0"
}
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (18)
NameTypeDescriptionDefault
domain_namestringThe name of the private dns zone. required
parent_idstringThe ID of the parent resource. This is typically the ID of the resource group or required
cname_recordsmap(object({ name = striA map of objects where each object contains information to create a CNAME record{}
role_assignmentsmap(object({ role_definiti A map of role assignments to create on the <RESOURCE>. The map key is delibera{}
virtual_network_linksmap(object({ vnetlinkname A map of objects where each object contains information to create a virtual netw{}
a_recordsmap(object({ name A map of objects where each object contains information to create a A record.{}
enable_telemetryboolThis variable controls whether or not telemetry is enabled for the module. For mtrue
role_assignment_name_use_random_uuidboolA control to use a random UUID for the role assignment name. If set to false, thtrue
soa_recordobject({ email = stoptional soa_record variable, if included only email is required, rest are optionull
tagsmap(string)(Optional) Tags of the resource.null
timeoutsobject({ dns_zones = optioA map of timeouts objects, per resource type, to apply to the creation and destr{ "dns_zones": { "create": "30m",
mx_recordsmap(object({ name = optionA map of objects where each object contains information to create a MX record.{}
retryobject({ error_message_regRetry configuration for the resource operations{}
txt_recordsmap(object({ name = stringA map of objects where each object contains information to create a TXT record.{}
aaaa_recordsmap(object({ name A map of objects where each object contains information to create a AAAA record.{}
lockobject({ kind = string Controls the Resource Lock configuration for this resource. The following propnull
ptr_recordsmap(object({ name A map of objects where each object contains information to create a PTR record.{}
srv_recordsmap(object({ name = stringA map of objects where each object contains information to create a SRV record.{}
Outputs (12)
a_record_outputs — The a record output
aaaa_record_outputs — The aaaa record output
cname_record_outputs — The cname record output
mx_record_outputs — The mx record output
ptr_record_outputs — The ptr record output
soa_record_outputs — The srv record output
name — The name of private DNS zone
resource — The private dns zone output
resource_id — The resource id of private DNS zone
srv_record_outputs — The srv record output
txt_record_outputs — The txt record output
virtual_network_link_outputs — The virtual network link output
Resources (5)
azapi_resourceazapi_update_resourcemodtm_telemetryrandom_uuidtime_sleep
Details
FrameworkTerraform Module
LanguageHCL
Version0.5.0
Cloud AZURERM
★ Stars30
Forks23
Total downloads727.7k
Inputs18
Outputs12
Resources5
Examples5
Submodules9
LicenseMIT
NamespaceAzure
Updated