Skip to main content

Tools for AWS CloudFormation

Project description

cfn-tools

Latest PyPI version Latest Travis CI build status

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cfn_tools-0.1.6-py2-none-any.whl (5.5 kB) Copy SHA256 hash SHA256 Wheel py2
cfn-tools-0.1.6.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page