Terraform Plans as an Agent's Proposal Format

Plans are diffs that humans already know how to review. The agent that emits plans instead of applying changes, and the apply-on-approve flow that closes the loop.

Why plans, not applies

The plan-as-proposal pattern leans on tooling humans already know how to read. The plan is the agent’s proposed action; the apply is the human-approved execution.

The propose-then-apply flow

The flow has four steps and one rule: nothing is inserted between approval and apply. The plan that gets approved is the plan that gets applied.

Constraints on what the agent can plan

Capability is constrained by allowlists, not by trust in the model. Allowlists scale; trust does not.

Safety properties

Three properties keep the pattern safe. Drop any one and the audit trail starts lying.

When this pattern wins

The pattern fits a specific niche: changes too narrow for a full Terraform PR but too wide for an ad-hoc shell command.