Make ECR tags immutable

Proprietary

Amazon ECR supports immutable tags, preventing image tags from being overwritten. In the past, ECR tags could have been overwritten, this could be overcome by requiring users to uniquely identify an image using a naming convention.

org.openrewrite.terraform.aws.ImmutableECRTags
mod run . --recipe=org.openrewrite.terraform.aws.ImmutableECRTags

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Add Terraform configuration