Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 7, 2022
1 parent 92519fe commit 6d931b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag-shared-vpc-resources/tag-subnets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data "aws_subnet" "subnet" {
## }

locals {
_subnet_enabled = var.tag_enable_subnets
_subnet_enabled = var.tag_enabled_subnets
subnets_tags = { for k, v in data.aws_subnet.subnet : k => merge(v.tags, { "boc:vpc:owner_id" = v.owner_id }) }
subnets_tags_map = flatten([for k, v in local.subnets_tags : [for tk, tv in v : { label = format("%v__%v", k, tk), subnet_id = k, key = tk, value = tv }]])
}
Expand Down

0 comments on commit 6d931b8

Please sign in to comment.