Review an infrastructure change before applying it
A generated Terraform change claims to add a subnet. Its plan also replaces a live gateway. What should the reviewer do?
Review an infrastructure change before applying it
Review the plan before applying AI-generated infrastructure changes, and use the normal review pipeline and least-privilege permissions.
Work through the decision
A generated Terraform change claims to add a subnet. Its plan also replaces a live gateway. What should the reviewer do?
Check your reasoning
Read the replacement reason, inspect dependencies and reconcile the configuration with state. Correct the input, generate a fresh plan and review that exact plan before an authorized apply.
Interpret the evidence
- Terraform plan
- Compare desired configuration, recorded state and provider observations to predict actions. Read replacements and deletions before approval.
- Helm
- A chart packages related Kubernetes resources and parameterizes release values.
- Config Connector
- A Kubernetes controller reconciles Google Cloud resources declared through Kubernetes custom resources.
- Fabric FAST
- Google’s foundation blueprint provides a structured starting point for organization-level foundations.
Practice the guide skills
- Read a Terraform plan for create, change and replacement. Document where state is stored and which identity can apply the reviewed plan.
- Match Fabric FAST to organization foundations, Helm to Kubernetes releases and Config Connector to reconciliation of Google Cloud resources.
- Review a proposed design from Application Design Center or an edit suggested by Gemini CLI, Google Antigravity or Cloud Assist. Verify resource names, permissions and the plan before approval.
Official objectives for this lesson
Read a proposed resource replacement
In this abbreviated Terraform plan the change request asks for a label adjustment.
~ google_compute_subnetwork.app
-/+ google_compute_router.gateway
Plan: 1 to add, 1 to change, 1 to destroy.
The router contributes both an addition and a destruction because it will be replaced. Identify the attribute that triggered replacement and check dependent paths before approving a revised plan.
Related lesson · Promote a tested pipeline without losing its place
Review an infrastructure change before applying it quiz
Answer 3 questions. Check each answer for an explanation.