Interview Prep/Terraform/CI/CD and Automation

What branching strategy suits Terraform?

BeginnerProductionCI/CD and Automation
Answer

Trunk-based: short-lived feature branches, PR with plan, merge to main, apply from main. Main always reflects deployed state. Long-lived environment branches create drift between environments and painful merges.

All Terraform questions Roadmap: Terraform in production

More on CI/CD and Automation