java2kus / cfn-templates

AWS Cloudformation Templates - Infrastructure as Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cfn-templates

AWS CloudFormation Templates - Infrastructure as Code

Overview

The infrastructure, resources, and application into three templates:

  1. master - parent template that defines embeded Cloud Formation stacks.
  2. resources - stack to define all dependancies for the application (RDS databases, ElastiCache cluster, DynamoDB tables, S3 bucket, IAM roles, etc. It outputs all IDs it creates.
  3. application - stack to define the application and environment that runs our application. This stack depends on the outputs provided by the resources stack.

Template sections

{
  "AWSTemplateFormatVersion" : "version date",

  "Description" : "JSON string",

  "Metadata" : {
    //template metadata
  },

  "Parameters" : {
    //set of parameters
  },

  "Mappings" : {
    //set of mappings
  },

  "Conditions" : {
    //set of conditions
  },

  "Resources" : {
    //set of resources
  },

  "Outputs" : {
    //set of outputs
  }
}

References

About

AWS Cloudformation Templates - Infrastructure as Code


Languages

Language:Python 98.7%Language:Shell 1.3%