skip to content

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 pageshow

questions

page 2 of 2

You 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 s

Treat 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.

open as a page

showing 31–31 of 31