Skip to content

Consolidation mode and Slack Notification Update patch v1.1.11 - #151

Merged
justushar merged 2 commits into
masterfrom
v1.1.11
Jun 18, 2026
Merged

Consolidation mode and Slack Notification Update patch v1.1.11#151
justushar merged 2 commits into
masterfrom
v1.1.11

Conversation

@justushar

Copy link
Copy Markdown
Collaborator

WHAT

The patch contains, fixes for consolidation mode for Terragrunt and Slack notification for the same. If consolidation mode is enabled, Terragrunt modules were reporting on the parentTs only, causing noise.
(Write the change being made with this pull request)

WHY

To ensure stability for this feature.
(Write the motivation why you submit this pull request)

@justushar
justushar requested a review from j-njoto as a code owner June 14, 2026 19:08
…ed mode

The consolidated TerragruntParser now tracks Create/Update/Delete/Replace/
Move/Import per module in addition to the existing flat lists. ParseResult
exposes ModuleResults; the default `updated_resources` template renders one
section per module ("### <module>") with its action sublists when the field
is populated, and falls back to the previous flat rendering otherwise.

Before this, a multi-module `terragrunt run-all plan` posted comments with
a flat bullet list that lumped all modules together and duplicated resource
names that appeared in multiple modules. Per-module rendering removes the
duplication and attributes each resource to its source module.

Single-module / non-consolidated runs are unchanged: ModuleResults is nil
in those paths, so the template emits the original flat bullets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@justushar
justushar merged commit 4625a32 into master Jun 18, 2026
3 of 4 checks passed
@justushar
justushar deleted the v1.1.11 branch June 18, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant