Plan/Apply Workflow
The operational loop around the code: init, plan, apply, workspaces, targeting, and running all of it in CI with drift detection. Interviewers ask how a plan gets reviewed and approved, because that is what separates IaC from a shared laptop.
part ofTerraformoverview, primer and where to startread it →on this pageshowhide
explore
- Core Commands and Saved Plans6 questions
- Workspaces5 questions
- Refresh and Drift Handling5 questions
- Targeting, Replace, and Parallelism4 questions
- CI/CD Integration5 questions
- Testing and Static Checks6 questions
questions
page 2 of 2You own hundreds of Terraform root modules, and refresh on every plan is now saturating provider API rate limits. How do you keep refresh and drift detection affordable?
level: principalimportance: nice to knowfreq 30%
basics
~20 sTreat refresh cost as proportional to resources per state and runs per hour, then attack both: keep root modules small, tier how often each is fully refreshed, stagger schedules so runs do not collide, and reserve unrefreshed plans for cheap feedback rather than for gated applies.
showing 31–31 of 31