PUZZLEHARD

Terraform State vs Reality

Someone renamed an S3 bucket and tagged an EC2 in the console. Now terraform apply fails. Reconcile state with reality without destroying the infrastructure.

90 minutes
terraform

Puzzle Overview

The previous engineer used the AWS Console to "just quickly fix something" while Terraform was mid-rollout. Now `terraform plan` wants to destroy and recreate resources that are actively in use, and `terraform apply` errors on conflicts.

You must bring the Terraform state and the real AWS infrastructure back into alignment — without deleting production resources — so that `terraform plan` reports "No changes."

Skills tested: `terraform state` subcommands (rm, mv, import), reading plan output, understanding the difference between code drift and state drift, tag reconciliation.

Technologies Covered

terraformawsstatedriftpuzzle

Choose your plan

Simple, Transparent Pricing

Unlock full access to TeKanAid courses, labs, and bootcamps

MonthlyQuarterly

Pro

Course content without labs

$59/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Full access to all courses
  • Progress tracking
  • Certificate of completion
  • Community access
  • Bootcamp participation
  • New content access
Recommended

Premium

Full access with hands-on labs

$99/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Everything in Pro
  • Unlimited hands-on labs
  • Lab AI Assistant
  • Accelerator bootcamps with live office hours
  • Priority support

Try it free, no credit card

Three free ways to start. All bridge into the paid Premium catalog when you're ready.

Not ready to commit? The crash course is email-only. No academy account required.

Ready to Crack It?

Jump into the broken system, diagnose the fault, and fix it.

Get Access Now