What is AWS CloudFormation?
Infrastructure as Code.
CloudFormation is a declarative way of outlining your AWS Infrastructure, for any resources (most of them are supported)
Do you have to specify resource order in CF?
CloudFormation creates those for you, in the right order, with the exact configuration that you specify
How CloudFormation Works?
How can you deploy tempaltes to CF?
What the CF yaml file building blocks?
What are the CF Resources?
How does a CF Resource identifier look like?
AWS::aws-product-name::data-type-name, AWS::EC2::Instance
What are the CF Parameters?
When to use a CF Parameter?
What are the CF Parameter settings?:
How to reference a CF Parameter in the tempalte?
!Ref {parameter}
What are Pseudo Parameters in CF?
What are Mappings in CF?
Describe an example Mapping for CF
Mappings:
Mapping01:
Key01:
Name: Value01
Key02:
Name: Value02
How to use the Mapping is CF templates?
What are Outputs in CF?
What is Cross Stack Reference in a CF template?
Use !ImportValue {otherStackOutput} to reference other stack
What are conditions used for in CF?
How to define a condition in a CF template?
Conditions:
CreateProdRes: !Equals [ !Ref EnvType, prod]
What can Fn:Ref retrive in CF templates?
What can Fn:GetAtt retrive in CF templates?
Attributes are attached to any resources you create
Whats the usage of Fn::Join in CF templates?
Join values with a delimiter
!Join [ delimiter, [ coma-delimited list of values]]
Whats the usage of Fn::Sub in CF templates?
Fn::Sub, or !Sub as a shorthand, is used to substitute variables from a
text. It’s a very handy function that will allow you to fully customize your
templates
What are the Rollback options in CF?