Terraform / OpenTofu Troubleshooting IaC evidence
Healthy evidence: The failing command is reproduced with exact tool/revision/backend/workspace/input/provider context and the first unproven boundary is identified. Suspicious evidence: Operators retry with changed inputs/state/tool versions, force-unlock blindly or edit state before preserving the failing plan/provider/backend evidence.
Correlated IaC/Terraform/OpenTofu evidence can establish this management path and its current proof boundary: tool/version + HCL/revision → init/provider/module/backend resolution → effective variables/locals → selected workspace/state + refresh → dependency graph → plan → approval → apply/import/destroy → provider API → state write/lock release → target read-back → fresh plan
It does not independently prove every downstream workload, external dependency or unmanaged object. CLI error location ≠ root-cause boundary; a provider, backend or graph symptom can be caused by earlier version, state, credential or selection errors. The proof boundary ends where provider/state evidence stops and target-domain acceptance begins.
Continue from the first unproven boundary: reproduce the same revision/tool/backend/workspace/input context, confirm provider/module resolution and state identity, refresh the intended target, preserve plan plus provider/API/state-write evidence, then read back target/workload state and generate a fresh bounded plan before retrying.
Use this Evidence to decide the next boundary, not to skip the original test
Observation → proof/non-proof boundary → next discriminating check → minimum controlled change → repeat the original workload/test → adjacent/return-path regression check where relevant.
Capture / filter
revision + tool/version + dependency lock + backend/state/workspace/lock + effective inputs + providers/modules + resource/data addresses + refresh/read + graph/plan + provider/API result + state-write outcome + target/workload read-back + fresh-plan/drift evidence