Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)