Lion Cipher Lab

Read one Terraform plan JSON and prove what it will change before you approve

Why it matters

On most teams, cloud changes reach production through a pull request that someone approves after glancing at a Terraform plan. The plan is often hundreds of lines long, the approver is busy, and the only line everybody actually reads is the summary at the bottom. That summary counts changes; it does not tell you which change opens SSH to the internet, gives a deploy role every permission in the account, switches off the audit trail or deletes the production database without a final snapshot. The plan JSON does tell you, if you ask it the right questions. This lab hands you one plan for a…

What you'll learn

Steps in this lab

  1. The words first: Terraform, plan, apply, plan JSON, and jq
  2. Open a terminal, install jq, and make a folder for the evidence
  3. The artifact: one plan for a small notes app
  4. First look: what is in the file, before you count anything
  5. Count what the plan will do, and see why the naive counts are wrong
  6. Ask six security questions of every change, and print the evidence
  7. Measure it: what the skim told you versus what the plan proves
  8. Close the gap you just found, and re-measure
  9. The honest list: what this plan cannot prove
  10. The second plan: re-review after the author's fix
  11. Optional: produce a real plan JSON on your own machine
  12. Judgment: block or approve with a note, why the plan beats the source, and how a pro does it

Open the full interactive lab →