A terraform module for managing Private and Public DNS zones on Azure## Requirements
module "dns_zone" {
source = "../modules/dns_zone"
resource_group_name = azurerm_resource_group.resource_group.name
dns_zone_names = [var.dns_zone_name]
private_dns_zone_name = var.private_dns_zone_name
private_dns_zone_vnet_links = [var.vnet_id]
}
Report issues/questions/feature requests on in the issues section.
Full contributing guidelines are covered here.
Name | Version |
---|---|
terraform | >= 0.12 |
azurerm | ~> 2.0 |
Name | Version |
---|---|
azurerm | ~> 2.0 |
random | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
dns_zone_names | The public dns zone to be created for internal vnet resolution | list(string) |
null |
no |
private_dns_zone_name | The private dns zone to be created for internal vnet resolution | string |
null |
no |
private_dns_zone_vnet_links | Virtual networks to create Private DNS virtual network links. This enables DNS resolution and registration using Azure Private DNS | list(string) |
[] |
no |
private_registration_enabled | Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? | bool |
true |
no |
resource_group_name | The name of the resource group where the Azure DNS resides | string |
n/a | yes |
tags | Tags to be passed to created instances | map(string) |
null |
no |
Name | Description |
---|---|
name_servers | n/a |
private_dns_zone_name | n/a |