Skip to content

Commit

Permalink
Fix issue with Azure instance being inaccessible
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Nov 19, 2024
1 parent 35e0aa7 commit d2d17f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "azurerm_public_ip" "public_ip" {
locals {
fw_tags = toset([ for key, value in var.firewall_rules: value.tag ])
fw_sets = {
for tags in distinct([for key, values in module.design.instances: toset(setintersection(values.tags, local.fw_tags))]):
for tags in distinct([for key, values in module.design.instances: toset(values.tags) if length(setintersection(values.tags, local.fw_tags)) > 0]):
join("-", toset(tags)) => toset(tags)
if length(tags) > 0
}
Expand Down

0 comments on commit d2d17f4

Please sign in to comment.