aws-changeset-cleaner

command module
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 8 Imported by: 0

README

aws-changeset-cleaner

A small tool to delete failed cloudformation changesets

Purpose

When using the aws cli to deploy cloudformation templates without changes you generate changesets that are marked as failed. It seems there is an undocumented hard limit of 1000 (failed?) changesets. If you hit that you are not able to deploy to that stack anymore.

This cli tool deletes those changesets. There also is a flag for the paranoid to keep a number of those and just delete the rest.

Example

./changeset-cleaner --profile <YOUR_AWS_PROFILE> \
  --stack <STACK_BLOCKED_BY_TOO_MANY_FAILED_CHANGESETS> \
  --keep 100

If no stack name is given all stacks will be cleaned from failed changesets.

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