Skip to content

Commit

Permalink
fix: missing env vars in dependencies (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sancretor authored Sep 8, 2024
1 parent aa28b4a commit 3aafc36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3aafc36

Please sign in to comment.