Chapter 3
- From 9,000 and above.
- Linting is the process of evaluating the template against linter rules and is performed by
cfn-lint
. Validation is performed by CloudFormation and checks whether the template is valid and can be processed by CloudFormation. - There are several steps:
- CloudFormation will check whether the stack exists or not.
- CloudFormation will create a ChangeSet for a new or existing stack.
- CloudFormation will execute the ChangeSet and listen to the stack events.
- If there is a failure, CloudFormation rolls back the changes and informs the user about the issue.
- No. ChangeSets must have unique names; otherwise, you will get a
400
AlreadyExists
error. - The name of the rule file and the rule class must be the same.
- Just add the necessary change to the template or parameters and run the stack update.