Skip to main content

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

Metadata

Release files for cfn-tools 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cfn-tools 0.1.6
File Size Uploaded
cfn-tools-0.1.6.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfn-tools 0.1.6
File Interpreter ABI Platform
cfn_tools-0.1.6-py2-none-any.whl Python 2 none any Details

Total release size: 9.4 kB

Release files / cfn-tools-0.1.6.tar.gz

Download URL cfn-tools-0.1.6.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
84c04c7656702cd78abc1dbd08395aeda7429f64441eda4b9ebc29d4c77d1ec4
BLAKE2b-256 checksum
How to use checksums
6b18ed998ecff7689b83c64fec01dd13f4231576a38f8d472fc647947cbb1a05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cfn_tools-0.1.6-py2-none-any.whl

Download URL cfn_tools-0.1.6-py2-none-any.whl
Size 5.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
52f096122b1109c22adf0bb2c298b4dc7995f651375173d759611b0ad3d2ee5c
BLAKE2b-256 checksum
How to use checksums
9b1c372c63e5e8218393d535192c0047b07a447ba303259903a379e32a486739
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.2

2 release files

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page