Repository navigation
Release Notes: Drift Noise Reduction
The 🌀 Drift Detected section exists to show changes made outside Terraform, but three kinds of harmless drift buried them. This release classifies, groups and optionally hides that noise without losing any address or value.
✨ Features
- Parent-collection drift against managed children (#683): For
azurerm_network_security_group/azurerm_network_security_rule,azurerm_route_table/azurerm_routeandazurerm_virtual_network/azurerm_subnet, drift on a parent's inline elements is compared with the managed child resources in the refreshedprior_state. Elements that match their managed child are collapsed into a🔁group at the end of the drift section; elements that differ or are not managed by any child are flagged with🚩so a rule or route added outside Terraform stands out. Parents without child resources in the state render as before. - Likely provider read-back (#669):
null -> valuedrift of the same resource type and attribute path is grouped into one📖entry labelled "likely provider read-back", listing every address with its after value. --drift-ignoreand--drift-ignore-file: Hide drift you have accepted with rules of the form<resource type>.<attribute path>(*for any type,[*]for any index or key). Hidden drift is never silent: a collapsed🔕note lists each matching rule with its resource count and addresses. Invalid rules fail the run with a message naming the rule and the expected form.
📚 Docs
- Updated
docs/features.mdanddocs/report-style-guide.md; specification, design, code review and UAT plan are underdocs/features/166-drift-noise-reduction/.
▶️ Getting started
terraform show -json plan.tfplan | docker run -i oocx/tfplan2md:latest --drift-ignore "*.tags" > plan.md🔗 Commits
feat: add drift ignore rule modelfeat: add --drift-ignore and --drift-ignore-filefeat: group likely provider read-back driftfeat: index managed resources of the refreshed prior_statefeat: describe drift matching on parent-child relationshipsfeat: classify parent-collection drift against managed childrenfeat: snapshot drift noise reduction and drop trailing spaces in attention linesfix: address drift noise reduction review findings
Workflow Improvements from the 163 Retrospective
Internal workflow tooling changes. The generated tfplan2md output is unchanged.
- Docker tests can no longer pass silently. The new
scripts/run-docker-tests.shchecks Docker (or a podman shim) and both images first. It then runs onlyCategory=Dockerand printsDocker tests: ran, N passed, a failure or timeout, orNOT RUN LOCALLY (<reason>). The Developer, Code Reviewer,pre-pr-checklistandrun-dotnet-testsnow require that line, and a Docker-category failure may not be dismissed as unrelated. - Accepted review findings need a follow-up.
wp-append.sh --accept-finding ... --follow-up "#N"records a finding the Maintainer accepted at the attempt cap. It appears inworkflow-gate.sh status, the blocked message and the PR body. - Visible-output questions come first.
wp-append.sh --question ... --visiblemarks questions whose answer changes the rendered output. They are listed first at a gate. - Cost is mandatory.
workflow-gate.sh work-protocolfails an entry without a Cost line (items created from 2026-12-06).--cost-unavailablerecords an honest gap. - Follow-ups filed: #706 (Large values headings per resource, MD024), #707 (three untested F2a rules), #708 (Docker tests report Skipped instead of passing).
🔗 Commits
- workflow: act on 163 retrospective findings