Releases: cloudposse/terraform-aws-ecr
Releases · cloudposse/terraform-aws-ecr
0.22.0: [AUTOMATED] Update Version Pinning for Terraform to support 0.13 (#60)
## What 1. Update Version Pinning for Terraform to support 0.13 ## Why 1. This is a relatively minor update that the CloudPosse module already likely supports. 1. This allows module consumers to not individually update our Terraform module to support Terraform 0.13.
0.21.0: Add support for environment input/label (#57)
what
- Added support for the environment attribute that has been added to terraform-null-label
why
- Because we need to bring this up to speed!
0.20.0: Allow protecting images with specified tags (#56)
what
- Allow protecting images with a given set of tag names
why
- At Transcend, we tag images with
dev
,staging
, andprod
for deployments in addition to their SHA tags. We want to expire images, but not those actively is use.
references
- aws/containers-roadmap#637
- https://docs.aws.amazon.com/AmazonECR/latest/userguide/lifecycle_policy_examples.html
Note: This change is fully backwards compatible
0.19.0: support terraform 0.13 for for_each on modules #52
0.18.0: Allow disabling lifecycle hooks (#53)
what
Allow disabling lifecycle hooks across all created repos
why
Sometimes it's required to keep all images
0.17.0
0.16.0
0.15.0 Added ecr:*Delete* and SetRepositoryPolicy perms
0.14.0 Add tag mutability setting to the module
what
- Adds a variable to change tag mutability of images in AWS ECR.
why
- Image tag immutability is a useful feature supported by AWS ECR, but there is no way of configuring it using this Terraform module.
references
- Closes #38
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.