Back to portfolio

OpenTofu Plan Review Lab

Turning infrastructure review into a browser exercise with immediate feedback.

Situation

A plan can look routine until you notice a resource replacement or a firewall rule that changes who can reach the system.

Task

I wanted an exercise that tests whether someone can spot those changes and explain a release decision without needing a cloud account.

Action

I wrote an illustrative OpenTofu plan inspired by Clouds Against Humanity. I included a worker replacement that could affect local data and a firewall rule that exposes SSH. I added a tag and an alert-description edit so reviewers also have to recognize changes that do not block deployment.

I put the plan next to a short deployment policy and an interactive review form. I used JavaScript to check each of the four decisions and the overall verdict. I wrote hints that point back to the relevant fields, and I show the reasons for the two blockers after a correct review.

I saved submitted answers in browser storage, added a reset option, and kept the form usable when storage is unavailable. I tested the wrong-answer, correct-answer, reload, and reset paths on the deployed site.

What I would improve

I would add a second plan focused on IAM or network isolation and ask reviewers to write a short justification alongside their selections.

Result

The public lab scores five decisions without a login. In browser testing, a missed-blocker review scored 2 out of 5, the correct review scored 5 out of 5, and both restoring and clearing the review worked.