Skip to content

a-h/cdk-ecr-asset-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdk-ecr-asset-cleaner

A script that cleans out unused CDK Docker / ECR assets.

  • Lists all of the containers in ECR.
  • Searches through the ECS tasks and Lambda functions and find all the containers that were currently in use.
  • Prints out which ECS services and Lambda functions are using which containers in ECR.
  • Does a diff between the in-use and not in-use containers.
  • Prints out a list of all of the unused containers.
  • Optionally deletes all the unused containers.

WARNING!

This tool can be configured to delete things.

It's not my fault if you break things etc. etc.

About

Cleans out unused CDK Docker / ECR assets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages