Three pictures
Clicking a cloud console does not scale, does not review, and does not reproduce last Thursday's network. Infrastructure as code keeps three pictures in sync: configuration (files in Git saying what should exist), state (the tool's record of which real cloud object maps to which config node), and reality (whatever the provider API returns right now). A plan diffs configuration against reality through state; apply executes the plan and rewrites state. Unchanged config against matching reality → empty plan (idempotent). That empty plan is the green build of infrastructure.
Lose state without backup and the tool may try to create duplicates or refuse to manage orphans — treat state backends (S3 + lock table, Terraform Cloud, Pulumi backend) as production data: versioning, encryption, restricted IAM, lock timeouts that humans know how to clear.
Key idea. Infrastructure changes become reviewed commits with a machine-readable diff of creates/changes/destroys — the same change discipline as application code, aimed at blast radius measured in subnets and databases.