Configuration Management & Infrastructure as Code Flashcards
What is CloudFormation
Amazon’s infrastructure as code solution which is written in either JSON or YAML.
Three CloudFormation Terms
- Stack - The resource group that one wants to manage as a single entity.
- Template - Document that specifies what to do. Can be used to both create and update the stack
- Stack Policy - A list of service.
Intrinsic Functions
Allows assigning functions to variables that are not available until runtime.
What is CloudFormation FindInMap - Intrinsic Map.
Allows the mapping of key-value pairs to be used at runtime.
CloudFormation FN:Base 64 Intrinsic
Returns the base64
FN:CIDR
Returns the number of blocked returned on the count value
FN:GetAtt
Getting the name of an attribute within a template.
FN:GetAZs
Returns the given AZ that are available.
FN:ImportValue
Returns the outpout values created by another stack
FN:Join
Allows to append multiple values to a single variable using delimited list of values
FN: Select
Allows one to reference a list array of items and then pick one of the items out based upon an index reference #.
FN: Split
Works with a string of variables and allows them to be separated and then possibly used select
FN: Sub
Used to subsitute variables on a variable.
FN: Transform
Specfies a macro to perform customer porcessing on a part of a stack template.
Ref
Simply provides a specified parameter or resource name.