An open API service indexing awesome lists of open source software.

https://github.com/yuuki/cfstacker

A simple AWS CloudFormation stacks manager
https://github.com/yuuki/cfstacker

aws aws-cloudformation cloudformation python

Last synced: 4 months ago
JSON representation

A simple AWS CloudFormation stacks manager

Awesome Lists containing this project

README

          

# cfstacker

[license]: https://github.com/yuuki/cfstacker/blob/master/LICENSE

A CLI tool to manage AWS CloudFormation stack in Python.

## Usage

```shell
% cfstacker
Usage: cfstacker.py [OPTIONS] ACTION STACK

Actions:
create create stack
update update stack after show diffs with currently deployed stack
delete delete stack
validate validate template

Options:
-s, --stack-name specify stack name
-c, --capabilities specify capabilities
-e, --environment specify environment
-p, --profile specify AWS_PROFILE

--dry-run only shows command-lines
```

## Installation

With homebrew:

```shell
brew install --HEAD yuuki/cfstacker/cfstacker
```

Or with pip:

```shell
pip3 install git+https://github.com/yuuki/cfstacker
```

## Requirements

- Python 3.6
- [AWS CLI](https://aws.amazon.com/jp/cli/)

## Directory Layout

```shell
% tree examples/
examples/
├── Makefile
├── bin
│ └── cfstacker
└── stacks
├── iam
│ ├── parameters
│ │ ├── prod.json
│ │ └── staging.json
│ ├── policy.json
│ └── templates
│ ├── prod.yml
│ └── staging.yml
└── s3
├── parameters
│ ├── prod.json
│ └── staging.json
├── policy.json
└── template.yml
```

## License

[MIT][license]

## Thanks

[chrolis](https://github.com/chrolis) (Original version writer)