Ref: https://learn.cantrill.io/courses/1820301/lectures/41301626
YouTube: https://www.youtube.com/watch?v=ptvce7lJ6Z0
DEMO: https://learn.cantrill.io/courses/1820301/lectures/41301627
IaC = Infrastructure as Code
đź”§Â AWS CloudFormation (CFN) is the AWS official IaC product


💡 By default CFN templates are uploaded to an S3 bucket with prefix CF
Template format in JSON:
{
"AWSTemplateFormatVersion" : "version date",
"Description" : "JSON string",
"Metadata" : {
template metadata
},
"Parameters" : {
set of parameters
},
"Rules" : {
set of rules
},
"Mappings" : {
set of mappings
},
"Conditions" : {
set of conditions
},
"Transform" : {
set of transforms
},
"Resources" : {
set of resources
},
"Outputs" : {
set of outputs
}
}
Resources → AWS resources to create/update/delete
AWSTemplateFormatVersion → Version date of the template