An infrastructure tutorial should identify what resources it intends to create or change and compare that intent with the actual proposed plan. A plausible configuration file is not evidence that applying it will affect only the resources named in the prose.
Record the tool, configuration revision, target context, state assumptions, provider dependencies, and expected resource actions. Any unexpected replacement or deletion needs investigation before the tutorial can describe its next step as routine.
The acceptance brief names the learning outcome. This worksheet concerns the proposed infrastructure changes needed to reach it. It is not a substitute for authorization to create resources, incur charges, or alter an account.
Use the planning tool’s actual boundary
HashiCorp's terraform plan documentation describes a proposed execution plan and explains that the command alone does not carry out its proposed changes. It also describes normal planning behavior and options that affect refresh and planning modes.
Do not translate “does not apply the proposed changes” into “makes no external calls.” Planning can inspect remote objects through providers. The permissions, connectivity, data exposure, and environment involved still require an appropriate authorized context.
This article uses an invented local review fixture rather than asking the reader to connect a provider or run an apply operation. A real tutorial must document its actual platform and supported planning workflow before offering executable infrastructure instructions.
Write the intended-action manifest
List the resources the lesson intends to create, update, replace, delete, or leave unchanged. Include ownership, expected count, relevant identity, and why each action is necessary. A descriptive label such as sandbox does not prove the target account or state is isolated.
| Resource | Intended action | Review boundary |
|---|---|---|
| New exercise resource A | Create | Dedicated authorized teaching context |
| Existing exercise resource B | Update one declared property | Stable identity preserved under the verified contract |
| Pre-existing shared resource C | No change | Any proposed change blocks this lesson |
| Unexpected resource | None authorized by the manifest | Investigate before proceeding |
All resources and actions in this table are fictional. The artifact is a way to compare intent with evidence, not a statement about a particular provider's replacement rules.
Keep the target context and the state reference attached to the manifest. A plan from another workspace does not validate this tutorial even when its resource names look similar.
Work an unexpected replacement case
Suppose the invented lesson intends one creation and one in-place update, with no deletions. The observed plan instead proposes replacing resource B. The correct documentation response is to stop and explain the mismatch, not to describe replacement as a harmless implementation detail.
Investigate the configuration, selected state, existing resource properties, provider behavior, and documented reasons for the action. A replacement can involve removal and recreation with consequences for identity or data. State only the effects verified for the actual provider and resource.
If replacement is genuinely required for the learning objective, revise the intended-action manifest and the authorization boundary before continuing. Changing the expectation after reading the plan should leave an explicit decision record, not silently turn a failed check into a passing one.
Record assumptions that can change the plan
A plan reflects a particular configuration, state, environment, and planning moment. Remote drift, changed inputs, provider updates, or a different workspace can alter the proposed actions. Do not promise that an earlier plan proves every later application will behave identically.
Identify whether the actual workflow uses a saved plan and what that artifact represents under the tool's documented rules. Keep secrets and sensitive plan data out of public evidence. A sanitized review can preserve resource action categories and relevant assumptions without publishing account details.
Keep a plan's summarized action counts connected to the actual resource identities. Two proposed actions can be the intended pair or a completely different pair; matching a total is not enough. A replacement can also be represented differently from a simple update in a tool's output. Interpret it through the supported plan format rather than counting display symbols by intuition. The review should identify both the number and meaning of actions before declaring that the manifest matches.
Review alternative modes explicitly if the lesson uses them. Normal planning, destroy planning, and refresh-only planning serve different purposes in Terraform's documentation. Do not present one mode's output as evidence for a different intended task.
Design acceptance cases without applying real infrastructure
A local review fixture can contain a small declared-action manifest and several invented plan summaries. Include the expected match, an unexpected deletion, a replacement, a wrong-context identity, and an unrecognized resource. The reviewer should reach a clear hold decision for each mismatch.
These fixtures test the editorial comparison method. They do not establish that a real provider will produce those exact outputs. Before a real infrastructure lesson is released, its author needs appropriately authorized evidence from its supported environment.
The environment matrix can record relevant tool and provider versions. Keep the original plan identity and any superseding review so changes can be traced rather than overwritten.
Publish a specific pre-application gate
The published tutorial should identify expected actions, target verification, planning procedure, interpretation, stop conditions, and the next required authorization. A learner should not be told to accept every plan merely because they copied the preceding configuration correctly.
Explain cleanup separately. Reviewing proposed creation and replacement before the lesson is different from proving safe resource removal afterward. A complete tutorial may need both, but they answer different questions at different points in the workflow.
The verification worksheet should distinguish tool facts, provider facts, observed plans, and the author's release judgment. Approve when the proposed actions match an explicit authorized intent and any mismatch produces a bounded decision rather than an automatic apply instruction.
