-
-
Notifications
You must be signed in to change notification settings - Fork 605
feat: Add Terragrunt wrappers #520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
antonbabenko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind having wrappers in modules, but I wonder whether terragrunt has added a capability to handle multiple identical modules transparently? It would be great to have our own codebase that is always smaller.
@flora-five Maybe you know?
@bryantbiggs Merge when/if you decide.
|
@flora-five, could you please investigate and confirm whether it is already possible to achieve the same result in Terragrunt? Let's merge it anyway, since it doesn't require a lot of maintenance from our side. |
## [9.16.0](v9.15.0...v9.16.0) (2025-09-30) ### Features * Add wrappers ([#520](#520)) ([ad0ce14](ad0ce14))
|
This PR is included in version 9.16.0 🎉 |
|
Thank you for reviewing and merging it!
@antonbabenko, unfortunately it is not possible (yet) to do it easily in Terragrunt, with HCL. This is an old answer, from when the term Terragrunt module was being used: Using for_each to call a module multiple times #413. There is a proposal from the community/discussion/work to add support for this in Terragrunt stacks and units: gruntwork-io/terragrunt#4504. @bryantbiggs I understand that my recent pull requests might give the impression that I'm just doing useless work. I made them because in our projects we usually deploy and use sets of resources instead of single resources. For many resources we already use the wrappers that exist in other modules. The Elasticache and RDS modules that we are using too don't have the wrappers, and I thought that, besides being useful to us, they might be useful to other users too. The PR to fix the ALB example was made after we have encountered the same error about rule conditions when upgrading to the latest version of terraform-aws-alb. I don't have important/useful PRs, but I tried to contribute when I could, for example in terraform-aws-modules/terraform-aws-route53#72. |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |

Description
Generate and add wrappers.
Motivation and Context
Useful to create and manage multiple clusters with Terragrunt.
Breaking Changes
None
How Has This Been Tested?
examples/*to demonstrate and validate my change(s)examples/*projectspre-commit run -aon my pull request