Recover from Infrastructure Drift
Detect an out-of-band resize and reconcile actual infrastructure with configuration.
A intermediate Linux challenge worth 10 points. Solve it hands-on in a real Linux environment in your browser - no local setup, no fake shells.
The Challenge
Incident: api-prod was provisioned from Terraform as a medium instance, but an operator resized it to xlarge directly in FakeCloud. Terraform state and the provider's actual backend now disagree.
In /home/labuser/terraform-lab, run a refresh-aware terraform plan, read the drift report, and apply the declared configuration to restore the instance to medium. Finish with a clean no-change plan, then run check.