Skip to main content

CFNCTL

Control Cloudformation stack lifecycle.

Features

  • Seemlessly supports templates files over 51,000 bytes
  • Create/Update with single command
  • (optional) Processes your template with jinja2 for advanced templating
  • Always creates a changeset

Install

requires boto3

Pip

pip install cfnctl

Usage

usage: cfnctl [-h] [-p AWS_PROFILE] [-r REGION] {deploy,lambda} ...

Launch and manage CloudFormation stacks

positional arguments:
  {deploy,lambda}
    deploy         creates a changeset and executes to create or update stack
    lambda         creates an archive and loads it to S3 to create a lambda
                   from

optional arguments:
  -h, --help       show this help message and exit
  -p AWS_PROFILE   AWS Profile
  -r REGION        Region name

Deploy

usage: cfnctl deploy [-h] -s STACK_NAME -t TEMPLATE [-b BUCKET] [-nr]
                     [-p PARAMETERS]

optional arguments:
  -h, --help     show this help message and exit

required arguments:
  -s STACK_NAME  Stack name
  -t TEMPLATE    CFN Template from local file or URL

optional arguments:
  -b BUCKET      Bucket to upload template to
  -nr            Do not rollback
  -p PARAMETERS  Local parameters JSON file

Lambda

Package a folder into a zip archive and upload to S3. Creates the bucket if it does not exist. Outputs the S3 url for use in a stack.

usage: cfnctl lambda [-h] -s SOURCE [-o OUTPUT] [-b BUCKET]

optional arguments:
  -h, --help  show this help message and exit

required arguments:
  -s SOURCE   Source folder to zip and upload

optional arguments:
  -o OUTPUT   Destination of the archive file
  -b BUCKET   Bucket to upload archive to

Release files for cfnctl 0.4.5

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

Source distribution (sdist)

Source distribution for cfnctl 0.4.5
File Size Uploaded
cfnctl-0.4.5.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfnctl 0.4.5
File Interpreter ABI Platform
cfnctl-0.4.5-py2-none-any.whl Python 2 none any Details

Total release size: 27.7 kB

Release files / cfnctl-0.4.5.tar.gz

Download URL cfnctl-0.4.5.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
174b780db1235be600d7edbc01374d74147e74731c8f1c55c94f951a3e0a8dfd
BLAKE2b-256 checksum
How to use checksums
eb286aab1aec1432a8b8cf7f6770caf649dd205d387d2c98fbf603a5558eabd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.10

Release files / cfnctl-0.4.5-py2-none-any.whl

Download URL cfnctl-0.4.5-py2-none-any.whl
Size 17.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
1a607613a8e78e42ec5eafeacd3be4e27e78da89fc07c62f9ff45ce105e6ce35
BLAKE2b-256 checksum
How to use checksums
9d922d512f885e241fdfc496c15ce13b1a14a3987171ad47a8e1d5e00d572241
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.10

Release history Release notifications | RSS feed

This release

0.4.5 This release

2 release files

0.4.4

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.6

2 release files

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