Skip to content

Commit

Permalink
fix: updating Private DNS Zone resource ID from dnszones to dnsZones (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasehlert authored Mar 18, 2024
1 parent c84e4e8 commit e6cb214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/connectivity/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ locals {
for fqdn in toset(local.settings.dns.config.public_dns_zones) :
{
# Resource logic attributes
resource_id = "${local.resource_group_config_by_scope_and_location["dns"][local.dns_location].resource_id}/providers/Microsoft.Network/dnszones/${fqdn}"
resource_id = "${local.resource_group_config_by_scope_and_location["dns"][local.dns_location].resource_id}/providers/Microsoft.Network/dnsZones/${fqdn}"
managed_by_module = local.deploy_dns
# Resource definition attributes
name = fqdn
Expand Down

1 comment on commit e6cb214

@d4kverma
Copy link

@d4kverma d4kverma commented on e6cb214 Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is recreating the public dns zone as well.

 # (because key ["/subscriptions/****/domain-name"] is not in for_each map)

Please sign in to comment.