A Cantrill - IAC (CloudFormation) Flashcards
What are 2 Parameters in CFN?
Template and Pseudo Parameters are two methods to provide input to a template, which can influence what resources are provisioned, and the configuration of those resources.
What are CFN Intrinsic Functions?
Is a way to assign values to properties that are not available until runtime.
What are CF mappings?
Key values that are stored and referenced in templates. Improves portability
What dependency in a CFN template requires an IGW to be first created before proceeding?
An Elastic IP requires an IGW attached to a VPC in order to work.
What is the DependsOn attribute of CloudFormation?
DependsOn creates an explicit dependency for services that need other services attached in order to function properly.
For example an EIP will be created AFTER an InternetGatewayAttachment is complete and deleted before the IGW is deleted.
What is the limit for number of resources created in one CFN stack?
500 stack resource limits.
When should you use CFN nested stacks?
-when resources in a stack are > 500 resources
-When everything is “lifecycle linked” (created together, deleted together)
Does cross stack reference support cross region and cross account export?
No, to export values
T or F, a template is used to create one stack ONLY?
False. A CFN template can be used to create one or multiple stacks
What are stacksets in CFN?
StackSets are a feature of CloudFormation allowing infrastructure to be deployed and managed across multiple regions and multiple accounts from a single location.