Skip to content

Commit

Permalink
Comment out azurecaf for private dns (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: Abdullah Khairi Kamarul Zaman <[email protected]>
  • Loading branch information
iriahk89 and Abdullah Khairi Kamarul Zaman authored Sep 25, 2020
1 parent fbc5ec6 commit 58ebaf5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions modules/networking/private-dns/module.tf
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down

0 comments on commit 58ebaf5

Please sign in to comment.