cdk-ecr-asset-cleaner

command module
v0.0.0-...-d5e3029 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 13 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL