diff --git a/modules/networking/private-dns/module.tf b/modules/networking/private-dns/module.tf index 393836b96b..a1de88df3d 100644 --- a/modules/networking/private-dns/module.tf +++ b/modules/networking/private-dns/module.tf @@ -1,15 +1,15 @@ -resource "azurecaf_name" "private_dns" { - name = var.name - resource_type = "azurerm_private_dns_zone" - prefixes = [var.global_settings.prefix] - random_length = var.global_settings.random_length - clean_input = true - passthrough = var.global_settings.passthrough -} +# resource "azurecaf_name" "private_dns" { +# name = var.name +# resource_type = "azurerm_private_dns_zone" +# prefixes = [var.global_settings.prefix] +# random_length = var.global_settings.random_length +# clean_input = true +# passthrough = var.global_settings.passthrough +# } resource "azurerm_private_dns_zone" "private_dns" { - name = azurecaf_name.private_dns.result + name = var.name resource_group_name = var.resource_group_name tags = local.tags }