0
votes

Is it possible to specify image tag immutability in an AWS ECR CloudFormation template?

Image tag immutability is an option at https://docs.aws.amazon.com/cli/latest/reference/ecr/create-repository.html but I don't see any obvious way to do it at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html

1

1 Answers

1
votes

It's the common issue with Cloudformation, which is always lagged behind. You might need to wait for some time util CF is supported this feature. Currently, I just run the aws cli to update this tag immutability (as well as image scanning upon pushing)

Here is one similar issue raised before.

Is it possible to specify data format conversion in AWS Cloudformation?