Skip to content

Commit

Permalink
Fix: Private DNS zone link (#70)
Browse files Browse the repository at this point in the history
This had been mistakenly made conditional to apply only for privatelink zones.
  • Loading branch information
patrickmoore-nc authored Nov 26, 2024
1 parent 50b7be9 commit d7e0176
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions infrastructure/modules/private-dns-zone/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ resource "azurerm_private_dns_zone" "private_dns_zone" {
}

resource "azurerm_private_dns_zone_virtual_network_link" "private_dns_zone_vnet_link" {
count = strcontains(var.name, "privatelink") ? 1 : 0

name = var.name
resource_group_name = var.resource_group_name
private_dns_zone_name = azurerm_private_dns_zone.private_dns_zone.name
Expand Down

0 comments on commit d7e0176

Please sign in to comment.