Cloudyy / blog
Terraform infrastructure review checklist
How to review Terraform plans, protect state and make infrastructure changes safely.
Define the scope
Choose the environment, provider and resource boundaries. Use variables and outputs for clear module interfaces. Avoid unnecessary resources.
Protect state
Use an appropriate remote backend with encryption, access controls and locking where supported. State may contain sensitive values, so do not publish it.
Review changes
Format and validate configuration, then inspect a plan. Pay special attention to deletions, replacements, permission changes and exposed networking.
Apply deliberately
Apply the reviewed plan through an authorized workflow. Do not grant broad cloud permissions to pull request jobs. Coordinate database or network changes with owners.
Document operations
Record dependencies, backup and recovery considerations, ownership and expected cloud costs. Reconcile manual changes before subsequent applies.