Skip to content

Commit

Permalink
Bug fix for Private DNS Resolver (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
frasdav authored Jan 7, 2024
1 parent 07533b9 commit 7e9ff74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/private-dns-resolver/src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "azurerm_private_dns_resolver_inbound_endpoint" "main" {
}

resource "azurerm_private_dns_resolver_outbound_endpoint" "main" {
count = var.inbound_endpoint_subnet_id != null ? 1 : 0
count = var.outbound_endpoint_subnet_id != null ? 1 : 0

name = "main"
private_dns_resolver_id = azurerm_private_dns_resolver.main.id
Expand Down

0 comments on commit 7e9ff74

Please sign in to comment.