An attempt at a common Blueprint library for use with stacker.
NOTES: it will create aws resources and generate cost on your aws account.
make destroy
them all if not required any more.
If you're new to stacker you may use stacker_cookiecutter to setup your project.
-
Make sure you set up authentication credentials to access aws
-
Review files conf/stage.env and conf/example.yaml
-
Adjust namespace in conf/stage.env to a global unique name
Build full stacks (vpc, bastion, myDB, myWeb)
$ git clone https://github.com/cloudtools/stacker_blueprints.git
$ cd stacker_blueprints
$ make build
# If you have other environment files, such as prod.env
$ make build ENV=prod
# If you want to create stacks in other region
$ make build REGION=ap-southeast-2
$ make info
$ make diff
$ make destroy
There are examples under folder conf
, for example, you want to run test on rds stack, you can easily play with below command
stacker build --region us-west-2 conf/rds/mysql.env conf/rds/mysql.yaml