Automated-cloudformation-infra

Troposphere and shellscript based AWS infrastructure automation. Feel free to clone and edit for personal usage. The entirety of this is just set up to gain more knowledge on troposphere and AWS-services

Requires aws-cli installed and aws-credentials set up

Create troposphere based scripts inside your preferred folder ie. troposphere_infra folder.

To create and deploy a single stack run

./deploy-single-stack.sh -f <script-folder> -s <script-name> -j <output-folder>

To create and deploy all stacks written in your infrastructure folder run

./deploy-all-infra.sh -i <input_folder> -o <output-folder>

To build and zip all gofiles in folders under lambdas run – Will add a script that automatically pushes said files to s3 and updates all lambda code at once

./build-and-zip-gofiles.sh

GitHub

View Github