Skip to main content

Tools to manage CloudFormation stack configuration

Project description

Simple command line tools to create and update CloudFormation stacks that make it easy to version-control both your templates and stack configurations in one place.

Development

The vinstall script uses virtualenv to prepare a Python environment useful for development, so you don’t have to build and install carica-cfn-tools to be able to run and test it.

  1. Run ./vinstall

  2. Activate the virtualenv by running . ./venv/bin/activate

  3. The console_scripts listed in setup.py are now in your path, so you can simply run them like:

    create-stack ...

Usage

carica-cnf-tools provides the following commands:

  1. create-stack: create a stack from a YAML stack config file

  2. update-stack: update an existing stack from a YAML stack config file

Sample Stack Config

Region: us-east-1
Bucket: mycorp-cfn-us-east-1
Name: WarehouseApp
Template: ../templates/warehouse-app.yml
Parameters:
  # Normal parameter values can include strings, numbers, booleans, etc.
  Stage: dev
  TableReadCapacityUnits: 10
  TableWriteCapacityUnits: 5
  AdminPassword:
    # A parameter with a "ParameterStore" sub-key will be resolved to the
    # SSM Parameter Store parameter with that name.
    ParameterStore: dev.warehouseapp.admin-password
  PostgreSQLPassword:
    # A parameter with a "SecretsManager" sub-key will be resolved to the
    # Secrets Manager secret with that ID.
    SecretsManager: dev.warehouseapp.postgresql-password

Project details


Download files

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

Source Distribution

carica_cfn_tools-1.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

carica_cfn_tools-1.2-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file carica_cfn_tools-1.2.tar.gz.

File metadata

  • Download URL: carica_cfn_tools-1.2.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for carica_cfn_tools-1.2.tar.gz
Algorithm Hash digest
SHA256 37666838c1d5f1c8e41afb8894406d81eddd244642aa2326cc6ec457ac4adf44
MD5 c009c5f0e8b3f0755e8c41fdb685152c
BLAKE2b-256 4d84fe49a9cb5bc5efbb8f518f5bc3a492ca80297896b9de6f2cf727061f6227

See more details on using hashes here.

File details

Details for the file carica_cfn_tools-1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: carica_cfn_tools-1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for carica_cfn_tools-1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 61874317f925f069f76553637c59af0873b6d500784156d5bb25e448ecef4574
MD5 bea44a5497028885eb801bd0dbacc90a
BLAKE2b-256 7313650feba13f88852c27d5424c8aa7488fedcc8e4e00bee4bfc340e32138bf

See more details on using hashes here.

Supported by

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