Skip to content

boroivanov/cfn-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfn-tools

Latest PyPI version Latest Travis CI build status Maintainability

Tools for AWS CloudFormation

  • list stacks
  • diff a stack and a template
  • diff two stacks
  • validate a template

Installation

pip install cfn-tools

Usage

List stacks:

cfn-tools ls
cfn-tools ls NAME

# Filter stacks by status.
# Returns stacks which status contains the filter string.
# Deleted stacks are not returned by default. Use `-f delete` to get those.

cfn-tools ls -f create
cfn-tools ls -f rollback NAME
cfn-tools ls -f progress NAME

# Filter out stacks by status.
# Deleted stacks are not returned by default.

cfn-tools ls -f \!create NAME

Diff Stacks/Templates:

cfn-tools diff TEMPLATE STACK
cfn-tools diff STACK1 STACK2
cfn-tools diff -r us-west-2 STACK1 -r2 us-east-1 STACK2

Validate a template:

cfn-tools validate TEMPLATE

Credits

Huge thanks to @stefansundin and @dstokes

About

Tools for AWS CloudFormation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages