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

Download files

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

Source Distribution

cfnctl-0.4.5.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cfnctl-0.4.5-py2-none-any.whl (17.3 kB view details)

Uploaded Python 2

File details

Details for the file cfnctl-0.4.5.tar.gz.

File metadata

  • Download URL: cfnctl-0.4.5.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for cfnctl-0.4.5.tar.gz
Algorithm Hash digest
SHA256 174b780db1235be600d7edbc01374d74147e74731c8f1c55c94f951a3e0a8dfd
MD5 dd1a9eb41f8699e314aca96aa05ffdde
BLAKE2b-256 eb286aab1aec1432a8b8cf7f6770caf649dd205d387d2c98fbf603a5558eabd0

See more details on using hashes here.

File details

Details for the file cfnctl-0.4.5-py2-none-any.whl.

File metadata

  • Download URL: cfnctl-0.4.5-py2-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for cfnctl-0.4.5-py2-none-any.whl
Algorithm Hash digest
SHA256 1a607613a8e78e42ec5eafeacd3be4e27e78da89fc07c62f9ff45ce105e6ce35
MD5 72f6ea3a57fab1bfa2d7c8204d14b3b9
BLAKE2b-256 9d922d512f885e241fdfc496c15ce13b1a14a3987171ad47a8e1d5e00d572241

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.5 This release

2 files

0.4.4

2 files

0.4.2

2 files

0.4.1

2 files

0.3.6

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page