-
-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Terragrunt dependencies are not included since update v0.54.16 #3393
Comments
Hi, |
Hello! We've encountered an issue with our workflow since tried to update to the specified version. I'm not entirely sure if it's a bug or if I'm misunderstanding how to properly implement this in the newer version. Any guidance would be appreciated! |
I can confirm that this problem started with version With version
With version
But with version
I got this error:
My workaround was to use version |
It's a bug @denis256 , I can confirm that multiple instances of the same code stopped working after version |
Hey folks, can we have a simplified example that we can use to reproduce the issue? I'm having trouble understanding what the issue is, exactly. |
I'm still trying to generate a simplified example code, but when doing it, the code works on both versions. @applevladko can you help us reproducing the problem? |
Hello! we have file infra/terragrunt.hcl that includes to all ours terragrunt files with default (tags backend state region etc)
we have folder test-bucket that creates bucket and set it the outputs test-bucket/bucket.tf file
test-bucket/terragrunt.hcl file
other module containes dummy files with dependency and included submodule in subfolder: test-module/test-module.tf
test-module/terragrunt.hcl
test-module/test-included-module/terragrunt.hcl
thats the whole minimal setup. |
Summary
Hi everyone!
We are using terragrunt on main module and dependencies from there were included to the sub-folders of this module.
Both of them are include general configuration of our terragrunt setup (e,g terragrunt/terragrunt.hcl )
Motivation
Upgrade terragrunt to latest version.
Proposal
I can see a lot of dependencies issues since this version upgrade but none of exact my cases. Maybe right way to do this should be added or documentaion or, if it no possible, this is regression.
Technical Details
Example:
sub-folder
main folder
But after config-read changes in https://github.com/gruntwork-io/terragrunt/releases/tag/v0.54.16 we are unfortunately unable to do so, I've tried to rewrite configs but dependencies inputs are marked as not found in the sub-module (in main module works well so I believe inputs = read_terragrunt_config("..").inputs is not working)
So cause of thie issues we had to freeze out version on the "<= 0.54.15" yet.
@levkohimins Maybe you could help with the new config read method?
Thanks in advance!
Press Release
none
Drawbacks
No response
Alternatives
No response
Migration Strategy
No response
Unresolved Questions
No response
References
No response
Proof of Concept Pull Request
No response
Support Level
Customer Name
No response
The text was updated successfully, but these errors were encountered: