Remove ECR Untagged Images

AWS ECR will charge for untagged versions as well which we don't use more, to remove the untagged versions follow the below steps.

Removed all the untagged images.

To check how many bills will be generated for ECR untagged images in any account.

python3 check_for_untagged_ecr_images.py --profile <profile> --get_details
  • To delete the untagged images (a prompt will be there for each repo to confirm deletion), run the below command.

python3 check_for_untagged_ecr_images.py --profile <profile> --get_details

Last updated