Process Flow - Block syntax and structure
Start Terraform File
Read Block Type
Read Block Label(s) if any
Parse Block Body
Store Block Configuration
Repeat for Next Block or End
Terraform files are made of blocks. Each block has a type, optional labels, and a body with settings. Terraform reads each block in order and stores its configuration.