Skip to content

Commit

Permalink
fix: resource for_each logic
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF authored Jan 17, 2024
1 parent ac7acd7 commit 0d73c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/static/includes/interfaces/int.pe.schema.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ resource "azurerm_private_endpoint" "this" {

# The PE resource when we are managing **not** the private_dns_zone_group block:
resource "azurerm_private_endpoint" "this_unmanaged_dns_zone_groups" {
for_each = { for k, v in var.private_endpoints : k => v if var.private_endpoints_manage_dns_zone_group }
for_each = { for k, v in var.private_endpoints : k => v if !var.private_endpoints_manage_dns_zone_group }

# ... repeat configuration above
# **omitting the private_dns_zone_group block**
Expand Down

0 comments on commit 0d73c8a

Please sign in to comment.