Skip to content

Commit

Permalink
set appropriate terragrunt flags (#1801)
Browse files Browse the repository at this point in the history
* set appropriate terragrunt flags
  • Loading branch information
motatoes authored Nov 7, 2024
1 parent 40e8911 commit 3bb9282
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/execution/terragrunt.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ func (terragrunt Terragrunt) runTerragruntCommand(command string, printOutputToS
env := os.Environ()
env = append(env, "TF_CLI_ARGS=-no-color")
env = append(env, "TF_IN_AUTOMATION=true")
env = append(env, "TERRAGRUNT_NO_COLOR=true")
env = append(env, "TERRAGRUNT_NON_INTERACTIVE=true")
env = append(env, "TERRAGRUNT_FORWARD_TF_STDOUT=1")

for k, v := range envs {
env = append(env, fmt.Sprintf("%s=%s", k, v))
Expand Down

0 comments on commit 3bb9282

Please sign in to comment.