0.13.0 enhancement for multiple repo creation
what
- Added variables and outputs to create multiple repositories in AWS ECR.
-
passing a list of docker images :
list_image = ["redis", "nginx"] -
then get a map of image name to the repository :
repository_url_map = {
"redis" = "xxx.dkr.ecr.eu-west-1.amazonaws.com/redis"
"nginx = "xxx.dkr.ecr.eu-west-1.amazonaws.com/nginx "
}
why
- it is convenient that if we could create multiple repositories at once by passing a list of docker images as an argument since AWS ECR assuming one repo per one docker image.