Skip to content

v1.53.0

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 16:22
· 2 commits to main since this release

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_route and azurerm_virtual_network / azurerm_subnet, drift on a parent's inline elements is compared with the managed child resources in the refreshed prior_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 -> value drift 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-ignore and --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.md and docs/report-style-guide.md; specification, design, code review and UAT plan are under docs/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 model
  • feat: add --drift-ignore and --drift-ignore-file
  • feat: group likely provider read-back drift
  • feat: index managed resources of the refreshed prior_state
  • feat: describe drift matching on parent-child relationships
  • feat: classify parent-collection drift against managed children
  • feat: snapshot drift noise reduction and drop trailing spaces in attention lines
  • fix: 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.sh checks Docker (or a podman shim) and both images first. It then runs only Category=Docker and prints Docker tests: ran, N passed, a failure or timeout, or NOT RUN LOCALLY (<reason>). The Developer, Code Reviewer, pre-pr-checklist and run-dotnet-tests now 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 in workflow-gate.sh status, the blocked message and the PR body.
  • Visible-output questions come first. wp-append.sh --question ... --visible marks questions whose answer changes the rendered output. They are listed first at a gate.
  • Cost is mandatory. workflow-gate.sh work-protocol fails an entry without a Cost line (items created from 2026-12-06). --cost-unavailable records 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