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.
-
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.hcl
that contains:The
global.terragrunt.hcl
file 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-json
I 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-metadata
as 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_folders
which 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