The concept of Infrastructure as Code (IaC) in CloudFormation primarily helps ensure consistency and repeatability in resource deployment.
It allows you to define, version, and automatically provision infrastructure in a predictable and error-free way.
The only mandatory section in an AWS CloudFormation template is the Resources section.
AWS CloudFormation templates can be written in JSON and YAML formats.
Template is the blueprint a JSON or YAML file that defines the AWS resources and their configurations.
Stack is the actual deployed set of resources created and managed based on that template.
The primary purpose of AWS CloudFormation is to automate the creation and management of AWS infrastructure by using templates written in JSON