Toolset to render and manage AWS CloudFormation ( https://pypi.org/project/cloudbender )
Go to file
Stefan Reimer 7a66cf3ec5 Add workaround for AWS S3 API, verify md5 hash, exit non-zero on validate failure 2021-03-11 19:25:02 +01:00
cloudbender Add workaround for AWS S3 API, verify md5 hash, exit non-zero on validate failure 2021-03-11 19:25:02 +01:00
tests First release on PyPy, Makefile and License 2019-02-07 22:05:33 +00:00
.drone.yml Fix drone pipeline to upload to PyPy 2019-06-27 13:38:12 +00:00
.gitignore Initial checkin 2018-11-22 18:31:59 +00:00
CHANGES.md Add workaround for AWS S3 API, verify md5 hash, exit non-zero on validate failure 2021-03-11 19:25:02 +01:00
LICENSE.md First release on PyPy, Makefile and License 2019-02-07 22:05:33 +00:00
Makefile Remove hardcodeded kubezero output template, add support for embedded custom output formats 2021-02-22 19:38:44 +01:00
README.md Remove legacy FortyTwo 2021-02-12 11:06:43 +00:00
cloudbender.png Update logo 2020-05-27 14:05:08 +01:00
dev-requirements.txt Minimum Python >= 3.7, drop oyaml, add support for short intrinsic AWS functions 2021-01-11 14:34:50 +00:00
requirements.txt Minimum Python >= 3.7, drop oyaml, add support for short intrinsic AWS functions 2021-01-11 14:34:50 +00:00
setup.cfg Fix cli entrypoint 2019-02-07 22:13:49 +00:00
setup.py Minimum Python >= 3.7, drop oyaml, add support for short intrinsic AWS functions 2021-01-11 14:34:50 +00:00

README.md

Logo CloudBender

About

Toolset to render and manage AWS CloudFormation.

Install

$ pip install cloudbender

CLI

Usage: cloudbender [OPTIONS] COMMAND [ARGS]...

Options:
  --version   Show the version and exit.
  --debug     Turn on debug logging.
  --dir TEXT  Specify cloudbender project directory.
  --help      Show this message and exit.

Commands:
  clean              Deletes all previously rendered files locally
  create-change-set  Creates a change set for an existing stack
  create-docs        Parses all documentation fragments out of rendered...
  delete             Deletes stacks or stack groups
  outputs            Prints all stack outputs
  provision          Creates or updates stacks or stack groups
  render             Renders template and its parameters
  sync               Renders template and provisions it right away
  validate           Validates already rendered templates using cfn-lint

Config management

  • Within the config folder each directory represents either a stack group if it has sub-directories, or an actual Cloudformation stack in case it is a leaf folder.
  • The actual configuration for each stack is hierachly merged. Lower level config files overwrite higher-level values. Complex data structures like dictionaries and arrays are deep merged.

Secrets

CloudBender supports Mozilla's SOPS to encrypt values in any config yaml file since version 0.8.1

If a sops encrypted config file is detected CloudBender will automatically try to decrypt the file during execution.
All required information to decrypt has to be present in the embedded sops config or set ahead of time via sops supported ENVIRONMENT variables.