cf-deploy-0.1.9
توضیحات
A package to automate CloudFormation deployments
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cf-deploy-0.1.9 |
| نام | cf-deploy |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Bart Machielsen |
| ایمیل نویسنده | bartmachielsen@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/cf-deploy/ |
| مجوز | MIT |
# 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:
```bash
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:
```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:
```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:
```bash
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.
نیازمندی
| مقدار | نام |
|---|---|
| >=5.4.1,<6.0.0 | PyYAML |
| >=1.20.0,<2.0.0 | boto3 |
| >=0.4.4,<0.5.0 | colorama |
| >=0.3.0,<0.4.0 | deepmerge |
| >=1.9.0,<2.0.0 | pydantic |
| >=21.5.0,<22.0.0 | structlog |
| >=4.65.0,<5.0.0 | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl cf-deploy-0.1.9:
pip install cf-deploy-0.1.9.whl
نصب پکیج tar.gz cf-deploy-0.1.9:
pip install cf-deploy-0.1.9.tar.gz