Search⌘ K
AI Features

IaC State and the Plan-to-Apply Delta

Learn to distinguish declared configuration, recorded IaC state, and real cloud infrastructure. Explore how refresh and plan operations expose drift, why the approved plan must be applied, and how to assess minimal scope, verification evidence, and rollback readiness.

In an interview, an infrastructure change sounds safe only when you can distinguish what the code requests, what the IaC tool has recorded, and what actually exists in the cloud environment. Infrastructure as Code (IaC) state is the tool’s recorded mapping between declared resource instances and real remote objects, including the metadata needed to manage them. It is a record of reality at a point in time.

A refresh reads managed remote objects through the configured provider and compares their current settings with the recorded state. The resulting ...