Skip to content

Commit

Permalink
add tags
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 14, 2023
1 parent c149c45 commit 53eb09f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@

* 2.0.3 -- 2023-11-14
- add output repository_names
- add tags
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,11 @@ resource "aws_ecr_repository" "apps_repos" {

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

Expand Down

0 comments on commit 53eb09f

Please sign in to comment.