Giter Club home page Giter Club logo

cloudformation's Introduction

cloudformation

This is a collection of CloudFormation templates, wrapped around Python Jinja2 templating.

Introduction

CloudFormation yaml lacks control statements such as for-loops and conditional. This makes organizing your AWS resources a bit tad repetitive. Rather than using a 3rd party product like Terraform, which at the point of this writing does not support rollback, we thought we should just wrap CloudFormation files with Jinja templates.

This is not a replacement of CloudFormation, but rather an addition. You still have to take the output yaml to CloudFormation whether through the AWS console or CLI.

How to Use

Install jinja2-cli

pip install jinja2-cli
pip install jinja2-cli[yaml]

Fill in your own variables into a yaml file (example variables can be found in vars.yml files). Then pass both the template and the variables to jinja2

jinja2 vpc/template.yml vpc/vars.yml

Each folder contains a CloudFormation stack template and its variables. They serve as examples of how to provision various AWS resources, and are not necessarily related to each other. Your usage and needs may vary, but we hope these can help you in provisioning your resources.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.