Week 11 Capstone - Terraform Finds No AMI
terraform apply fails looking up an Ubuntu AMI — the query returns nothing. Fix the data source so TaskFlow's EC2 can launch.
Puzzle Overview
TaskFlow's platform team checked in a fresh Terraform stack meant to launch a small Ubuntu EC2 for a canary host. `terraform init` works, but `terraform apply` dies when the `aws_ami` data source returns zero results.
The configuration lives in `/root/taskflow-infra/`. Something about how the AMI is selected is wrong. Fix it so apply succeeds and a real instance is running in us-east-1.
Skills tested: Terraform `aws_ami` data sources, AMI filter/owner semantics, reading apply errors, validating with `terraform show` and the AWS CLI.
Technologies Covered
Choose your plan
Simple, Transparent Pricing
Unlock full access to TeKanAid courses, labs, and bootcamps
Just exploring? Start free below. Want the full experience? Try Premium free for 7 days (card required, $0 today).
Pro
All courses, with lab scripts to run on your own machine
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Full access to all courses
- Lab scripts to download and run on your own machine (hosted labs not included)
- Progress tracking
- Certificate of completion
- Community access
- Self-paced bootcamps
- Premium puzzle library not included (5 free puzzles available)
- New content access
Premium
Full access, including unlimited hosted labs
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Everything in Pro
- Unlimited hands-on labs, fully hosted on TeKanAid Academy (nothing to set up)
- Full access to the puzzle library
- Lab AI Assistant
- Priority support
Just exploring? Start free, no account needed
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.