Skip to main content

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


Download files

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

Source Distribution

cf_deploy-0.1.52.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

cf_deploy-0.1.52-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file cf_deploy-0.1.52.tar.gz.

File metadata

  • Download URL: cf_deploy-0.1.52.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for cf_deploy-0.1.52.tar.gz
Algorithm Hash digest
SHA256 94fec60b9339fa5174319f9bcf3f2b0fc3263a1234cfe53e3c7eb662934b5485
MD5 22e2df8be125bcb8c81919b6b595b44f
BLAKE2b-256 1374de7c4ddb43be4a9817675afb423fe2de67d4176624dc85dd6f5af87d88e6

See more details on using hashes here.

File details

Details for the file cf_deploy-0.1.52-py3-none-any.whl.

File metadata

  • Download URL: cf_deploy-0.1.52-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for cf_deploy-0.1.52-py3-none-any.whl
Algorithm Hash digest
SHA256 b15191d1a5dc79f3619f401787b8edced5e59514111b7bcbc85716c2cca1de02
MD5 5db81890d2bd285ef5802d718c0ce56f
BLAKE2b-256 e47ce41615b45b8def54da9cf80b063eada19ffbcf04d83a882d5bafeab7940c

See more details on using hashes here.

Supported by

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