DOCFIX-175/176: OpenTofu state file security + VR1 teardown/rollback runbook
Found while reviewing what's missing from the VR1 buildout ahead of
tomorrow's execution.

DOCFIX-175: terraform.tfstate stores sensitive=true variables (like
maas_api_key) in plaintext regardless of the flag, which only redacts
CLI/plan output (verified against HashiCorp's own docs). Added .gitignore
coverage, a "State file handling" section in opentofu/README.md, an inline
caveat on maas_api_key's description, and a "SECURE THE STATE FILE" callout
at Stage 1 Step 10 -- the actual first real tofu apply (an early draft
wrongly assumed Stage 3; corrected after reading the runbooks directly).

DOCFIX-176: new runbooks/dc-dc-teardown-rollback.md for the OpenTofu/
libvirt/MAAS-vm_host layer, which D-061's existing teardown scripts don't
cover (different layer, juju/MAAS-machine). Two paths (scoped -target
teardown or full VR1 destroy), a rollback decision tree favoring
fix-forward over destroy, and explicit mesh-link shared-infrastructure
handling.

Also folded in: a fix to docs/changelog-20260710-ledger-scan-self-inflicted-falsepositive-fix.md
after re-running ledger-scan.sh caught that its own narration (and the
session-ledger mirror) had reintroduced the exact false-positive class
DOCFIX-174 had just fixed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QrcJx8TUar7pYAvpGJw57A
1 parent 0819806 commit 99a32d10c7a6ae6afbefc67b2c899e83ae38ec07
@JANeumatrix JANeumatrix authored 4 hours ago
Showing 11 changed files
View
.gitignore
View
docs/changelog-20260710-ledger-scan-self-inflicted-falsepositive-fix.md
View
docs/changelog-20260710-opentofu-state-file-security.md 0 → 100644
View
docs/changelog-20260710-vr1-teardown-rollback-runbook.md 0 → 100644
View
docs/dc-dc-deployment-workflow.md
View
docs/session-ledger.md
View
opentofu/README.md
View
opentofu/variables.tf
View
runbooks/dc-dc-phase0-vcloud-prep.md
View
runbooks/dc-dc-phase2-tofu-dc-substrate.md
View
runbooks/dc-dc-teardown-rollback.md 0 → 100644