Process Flow - Preconditions and postconditions
Start Terraform Apply
Check Preconditions
Stop with Error
Create/Update Resources
Check Postconditions
Stop with Error
Finish Apply Successfully
Terraform first checks preconditions before creating resources. After creation, it checks postconditions to ensure success.