Hi,
The dependencies should be in your terragrunt.hcl
. The dependencies main purpose is to guarantee correct execution order when you’re applying or destroying infrastructure with the *-all
-commands.
Normally your live
only contains the terragrunt.hcl
for passing variables into your infrastructure-modules
. The modules is where you use the outputs and the terraform
dependency hierarchy - which is a bit different from the terragrunt.hcl
dependency declaration.
Hope this clarifies the issue!
/Petri