Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 19, 2022
1 parent e404b6f commit 097f189
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions availabilty_zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ data "aws_availability_zones" "zones" {
}

data "aws_availability_zone" "zone" {
count = toset(data.aws_availability_zones.zones.names)
state = "available"
name = each.key
for_each = toset(data.aws_availability_zones.zones.names)
state = "available"
name = each.key
}

output "availability_zone_names" {
Expand Down
2 changes: 0 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ resource "aws_ecr_repository" "apps_repos" {
}

tags = merge(
local.common_tags,
local.base_tags,
var.application_tags,
tomap({
"Name" = format("ecr_%v/%v", var.application_name, each.key)
"Environment" = "application"
Expand Down

0 comments on commit 097f189

Please sign in to comment.