Skip to content

Add the Terraform State Puzzle - #1855

Merged
bobbyonmagic merged 3 commits into
mainfrom
feat/terraform-puzzle-simulator
Oct 6, 2026
Merged

bobbyonmagic merged 3 commits into
mainfrom
feat/terraform-puzzle-simulator

Conversation

@bobbyonmagic

Copy link
Copy Markdown
Collaborator

Replaces the coming-soon Terraform State Puzzle card with a working game: eight puzzles about broken state (a rename, the wrong workspace, an alarm deleted in the console, a hand-over with a removed block, a stale lock, what a killed apply leaves behind, an import that forces replacement, and a count index shift). Each tempting wrong option shows the plan or error it would produce, and every transcript was recorded with Terraform 1.15.8 using local stand-in resources relabelled as AWS; the header of lib/games/terraform-puzzle-puzzles.ts says what is verbatim and what is relabelled. The engine is pure and covered by vitest, including a check that every Plan: summary matches its resource headers. Desktop keeps a sticky bar over a viewport-height workspace whose columns scroll on their own, and phones get tabs.

https://claude.ai/code/session_01FRYkaYp9vFJjWBjAQdjnQ4

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: 80bdf07
Status: ✅  Deploy successful!
Preview URL: https://7bf80fc3.devops-daily.pages.dev
Branch Preview URL: https://feat-terraform-puzzle-simula.devops-daily.pages.dev

View logs

@bobbyonmagic
bobbyonmagic force-pushed the feat/terraform-puzzle-simulator branch from 8058ee9 to 044440b Compare October 6, 2026 09:19
Eight puzzles about broken Terraform state: a rename, the wrong
workspace, drift after a console delete, a hand-over with a removed
block, a stale lock, an object left by a killed apply, an import that
forces replacement, and a count index shift. Output was recorded with
Terraform 1.15.8 using local stand-in resources relabelled as AWS.

Claude-Session: https://claude.ai/code/session_01FRYkaYp9vFJjWBjAQdjnQ4
Move focus and scroll to the visible verdict on phones, use unique ids
per layout, fit the desktop workspace under the site header, add the
SQS and ALB alarm dimensions, and make the killed-apply puzzle an EC2
instance, where a blind apply really launches a duplicate. Note that
the HTTP backend does not check the force-unlock ID.

Claude-Session: https://claude.ai/code/session_01FRYkaYp9vFJjWBjAQdjnQ4
…age at their end

Collapse 'What the plan does now' and the code/state/AWS breakdown by default so the side columns fit, and contain scrolling inside each column.

Claude-Session: https://claude.ai/code/session_01FRYkaYp9vFJjWBjAQdjnQ4
@bobbyonmagic
bobbyonmagic force-pushed the feat/terraform-puzzle-simulator branch from 044440b to 80bdf07 Compare October 6, 2026 10:16
@bobbyonmagic
bobbyonmagic marked this pull request as ready for review October 6, 2026 10:16
@bobbyonmagic
bobbyonmagic merged commit 54cbf0c into main Oct 6, 2026
3 checks passed
@bobbyonmagic
bobbyonmagic deleted the feat/terraform-puzzle-simulator branch October 6, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant