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.1.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.1-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: carica_cfn_tools-1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6e58b2b1d64947603f79e54e5456b9c68d73775b5df49475f3e2697d12176286
MD5 6b97568c24de6262057ef8e4eaa1fefd
BLAKE2b-256 511e0528ced853588695aa4800dd3c63eef3102cb2e8a475fb18345c0cce698c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: carica_cfn_tools-1.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6631d447b2e10df276994b8791d7b62a74e3ba033d247c8e3f05e5f8a8454cf0
MD5 661160bca279b479d15ed6bbe3af55cf
BLAKE2b-256 35d2f329bba9eb1caa4ed214b57a9be70515f9030c36d2058cf003849affc141

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