Skip to content

Commit 04bf07b

Browse files
authored
fix: auto approve terragrunt (#135)
1 parent e79f251 commit 04bf07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/terraform/tf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (terragrunt Terragrunt) Plan() (bool, string, string, error) {
3535
}
3636

3737
func (terragrunt Terragrunt) runTerragruntCommand(command string) (string, string, error) {
38-
cmd := exec.Command("terragrunt", command, "--terragrunt-working-dir", terragrunt.WorkingDir, "--terragrunt-non-interactive")
38+
cmd := exec.Command("terragrunt", command, "--terragrunt-working-dir", terragrunt.WorkingDir, "--terragrunt-non-interactive", "--auto-approve")
3939
env := os.Environ()
4040
env = append(env, "TF_CLI_ARGS=-no-color")
4141
env = append(env, "TF_IN_AUTOMATION=true")

0 commit comments

Comments
 (0)