cfn-templates
AWS CloudFormation Templates - Infrastructure as Code
Overview
The infrastructure, resources, and application into three templates:
- master - parent template that defines embeded Cloud Formation stacks.
- 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.
- 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
}
}