Skip to content

fix(terraform): Count a plan from its own segments and require the file - #6249

Merged
dan-petty merged 2 commits into
mainfrom
fix/4929-tf-notify-plan-counts
Nov 18, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4929-tf-notify-plan-counts

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops tf notify-plan counts a plan by the fixed text 2 to add and 1 to change, so a plan with other counts prints +0 ~0 -0. A missing --plan-file prints a fixed sample plan and exits 0. The command now requires the file, reads each count from its own N to segment, and lets Typer refuse a missing path with a non-zero exit that names it.

Closes #4929

Change: openspec/changes/archive/2026-11-18-4929-tf-notify-plan-counts/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/terraform OpenTofu modules and the infrastructure they declare labels Nov 18, 2026
@dan-petty
dan-petty force-pushed the fix/4929-tf-notify-plan-counts branch from 5ec1e1e to 88cfd83 Compare November 18, 2026 02:25
@dan-petty
dan-petty marked this pull request as ready for review November 18, 2026 02:33
@dan-petty
dan-petty merged commit 1130cd4 into main Nov 18, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/4929-tf-notify-plan-counts branch November 18, 2026 02:36
dan-petty pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.174.6](v0.174.5...v0.174.6)
(2026-11-18)


### Bug Fixes

* **terraform:** Count a plan from its own segments and require the file
([#6249](#6249))
([1130cd4](1130cd4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/terraform OpenTofu modules and the infrastructure they declare type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(tf): tf notify-plan counts a plan by a fixed text match

1 participant