I noticed that
https://github.com/cloudposse/terraform-aws-ecr will only keep the latest 500 images around (the number being configurable). I opened
https://github.com/cloudposse/terraform-aws-ecr/pull/56 to allow protecting specific tags like
prod, but am curious:
How does cloudposse expect that the repo would be used. In continuous delivery (but not continuous deployment) environments, how could you be sure that the image you are using in production won't be deleted before your next release starts?