A package to automate CloudFormation deployments
Project description
cf-deploy
cf-deploy is a package to automate CloudFormation deployments. It simplifies the deployment process by allowing you to use YAML configuration files to define your stack parameters and resources.
Features:
- Merge multiple configuration files to create a single CloudFormation stack
Installation
To install cf-deploy, run the following command:
pip install cf-deploy
Usage
To use cf-deploy, create a YAML configuration file with your CloudFormation stack settings. You can use a base configuration file to define common settings and override or extend them with environment-specific configuration files.
Here's a sample base configuration file, base.yaml:
region: us-west-2
template: s3://my-bucket/my-template.yaml
deployment_stages:
- dev
- prod
And a sample environment-specific configuration file, dev.yaml:
name: my-stack-dev
prefix: dev-
parameters:
Stage: dev
InstanceType: t2.micro
Deploying a CloudFormation stack
To deploy a CloudFormation stack using cf-deploy, run the following command:
cf-deploy -b base.yaml -c dev.yaml
This command will merge the base configuration file (base.yaml) with the environment-specific configuration file (dev.yaml) and deploy the resulting CloudFormation stack.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cf_deploy-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab06c4d2c769f594bd02f50601d160f8f47cfba5bafd6ca5c40509c92b9cc98 |
|
MD5 | b55c5dcd1c0453eec821471387ff371d |
|
BLAKE2b-256 | 88ba87c8142d1c300f5b952b56255f2c5f65f548019a8f1c413994bea5669cc2 |