Skip to content

Commit

Permalink
- add repository_urls output (per app_name => URL)
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 29, 2023
1 parent 7003bfc commit a99fda2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@

* 2.0.1 -- 2023-07-24
- update copy_image.sh to retry the copy until successful

* 2.0.2 -- 2023-08-29
- add repository_urls output (per app_name => URL)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,4 @@ No modules.
| <a name="output_availability_zone_names"></a> [availability\_zone\_names](#output\_availability\_zone\_names) | VPC Availability zone name list (3) |
| <a name="output_availability_zone_suffixes"></a> [availability\_zone\_suffixes](#output\_availability\_zone\_suffixes) | VPC Availability zone suffix list (3) |
| <a name="output_images"></a> [images](#output\_images) | Final full merge of images with extra details |
| <a name="output_repository_urls"></a> [repository\_urls](#output\_repository\_urls) | ECR Respository URLs |
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ output "images" {
description = "Final full merge of images with extra details"
value = local.images
}

output "repository_urls" {
description = "ECR Respository URLs"
value = { for k, v in aws_ecr_repository.apps_repos : k => v.repository_url }
}
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
locals {
_module_name = "aws-ecr-copy-images"
_module_version = "2.0.1"
_module_version = "2.0.2"
}

0 comments on commit a99fda2

Please sign in to comment.