Replies: 2 comments
-
https://terragrunt.gruntwork.io/docs/features/locals/#including-globally-defined-locals |
Beta Was this translation helpful? Give feedback.
-
|
I've read that doc that you linked, but not sure I understand what it's saying. I've inherited this codebase and the original creators are no longer around. For example I have a The Hope that makes sense. Thank you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm relatively new to terragrunt so apologies if this has already been answered. I am trying to debug values in local variables, but am currently unable to tell what values they are being set to.
I have a directory with a
terragrunt.hclthat contains:The
global.terragrunt.hclfile is many directory levels up from the directory I'm running terragrunt from. That file contains:I'm trying to see what some of the local variables in the global file are being set to when I run terragrunt to debug, but when I do
terragrunt render-jsonI am getting null for the locals field. This thread seems to indicate that is expected: gruntwork-io/terragrunt#2189However, when I do
terragrunt render-json --with-metadataas suggested in that thread, there isn't even a locals field in the output at all.I also cannot run from the parent directory as suggested since the global file contains lots of
find_in_parent_folderswhich is relative to the child directory.What is the best way for me to debug this?
Thank you!
Tracked in ticket #110900
Beta Was this translation helpful? Give feedback.
All reactions