In CloudFormation, there are some basic elements that we need to understand before we can proceed with deployments. We always write templates from which we deploy stacks. Once a stack is deployed, we can create a change set and compare this change set against a deployed stack before eventually applying the changes.
CloudFormation basic elements
Templates
As we have already mentioned, we will be providing a specification document called a Template to the service. A template can be created in a text editor and written either in JSON or YAML. We can also use the AWS CloudFormation Designer or any other What You See Is What You Get (WYSIWYG) design tool that's compatible with AWS CloudFormation. In the template, we define...