Skip to main content
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Description: cfnbot
======

Make managing CloudFormation stacks a little friendlier.

**Still very much a work in progress**

Install
~~~~~~~

::

$ pip install cfnbot

Usage
~~~~~

::

# First, write a specfile. See `example_specfile.yml` for more info.
$ cfnbot deploy [--debug] /path/to/specfile.yml [--stackset <name>]
$ cfnbot delete [--debug] /path/to/specfile.yml [--stackset <name>]

Specfile Formats
~~~~~~~~~~~~~~~~

Single Stack
^^^^^^^^^^^^

One top key only, which can't be "Default" or "Stacks". Must contain a
TemplatePath.

::

---
SomeAppBucket:
TemplatePath: 'bucket.yml'
Parameters: [...]

Multiple Stacks
^^^^^^^^^^^^^^^

One top key only, "Stacks", and its value must be a list. For example:

::

---
Stacks:
- SomeAppBucketRole:
TemplatePath: cfn/iam_role.yml
Parameters: [...]
- SomeAppBucket:
TemplatePath: cfn/s3bucket_with_roles.yml
StackName: SomeAppBucket
Parameters: [...]

Stack Sets
^^^^^^^^^^

ALL THE THINGS. Need a Default in there somewhere, and it needs a Stacks
list.

::

---
Dev:
StackNamePrefix: Dev
CredentialProfile: default
Stacks:
- SomeAppBucketLambdaRole
TemplatePath: cfn/iam_role_dev.yml
Default:
Stacks:
- SomeAppBucketRole:
TemplatePath: cfn/iam_role.yml
Parameters: [...]
- SomeAppBucket:
TemplatePath: cfn/s3bucket_with_roles.yml
StackName: SomeAppBucket
Parameters: [...]

Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Distributed Computing
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

Release files for cfnbot 1.0.0

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

Source distribution (sdist)

Source distribution for cfnbot 1.0.0
File Size Uploaded
cfnbot-1.0.0.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfnbot 1.0.0
File Interpreter ABI Platform
cfnbot-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 20.9 kB

Release files / cfnbot-1.0.0.tar.gz

Download URL cfnbot-1.0.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6ba24046773c01c954cf0d964b564da717cd41d353a87420d9f9220555413e56
BLAKE2b-256 checksum
How to use checksums
93a7a719de9008fa5e6e59e0f821b55f59fa38a64472827615ace6b94377029d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cfnbot-1.0.0-py2.py3-none-any.whl

Download URL cfnbot-1.0.0-py2.py3-none-any.whl
Size 12.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5ae1113afb1e96e5a7887e3a7b238622300f9b2c6dbec385a3cbf1a6d6cd98bb
BLAKE2b-256 checksum
How to use checksums
9adf312a8ebec9a9f6a7961c3b4a726c0eb4b1fff07a274efd338c1bdeb02cc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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