Process Flow - Why state operations are needed
Write Infrastructure Code
Terraform Init & Plan
Check Current State File
Compare Desired vs Current State
Apply Changes to Cloud
Update State File
Ready for Next Run
Terraform uses a state file to track real infrastructure. State operations keep this file updated to know what exists and what needs change.