I’ve inherited a Terraform script for some infra and I’m trying to test it out to understand how it works, and add some additional functionality.
Here’s the problem I’m having right now. I’ve got a variable defined and I’m passing it in with a var_file; but it doesn’t seem to be making it through the chain of root and submodules. It passes into a sub_module from a root .tf file, then into another module, and another, and finally into a file that gets placed on the instance.
I can see that the file on the instance is missing the content, but I can’t see where its failed. Is there a way to see, or trace the variables to see where its getting dropped?