Interview Prep/Real-World Interview/Infrastructure as Code & Terraform state

How long did a typical Terraform plan take, and how did you improve it?

BeginnerBehavioralInfrastructure as Code & Terraform state
Answer

Good answer looks like → "Our original single state with 900 resources took 9 minutes to plan. Splitting into stacks per component brought most plans under 1 minute. We also stopped refreshing data sources we didn't need and used -refresh=false only for quick syntax checks, never for applies."

Follow-ups to expect → What's the risk of -refresh=false? How many resources per state do you aim for?

Red flags → Accepting 10-minute plans as normal without investigating.

All Real-World Interview questions Roadmap: Interview readiness

More on Infrastructure as Code & Terraform state