From 3aafc367df422aa9526e4eaa5c26ae7fd0a4f8f0 Mon Sep 17 00:00:00 2001 From: Alexis Chatillon <46956548+Sancretor@users.noreply.github.com> Date: Sun, 8 Sep 2024 02:31:48 +0200 Subject: [PATCH] fix: missing env vars in dependencies (#350) --- cmd/generate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/generate.go b/cmd/generate.go index a603a500..0d789a07 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -259,6 +259,7 @@ func getDependencies(path string, terragruntOptions *options.TerragruntOptions) depPath := dep terrOpts, _ := options.NewTerragruntOptionsWithConfigPath(depPath) terrOpts.OriginalTerragruntConfigPath = terragruntOptions.OriginalTerragruntConfigPath + terrOpts.Env = terragruntOptions.Env childDeps, err := getDependencies(depPath, terrOpts) if err != nil { continue