Skip to content

Commit e271ff0

Browse files
authored
fix: fix terragrunt non-interactive flag (#2332)
* fix: fix terragrunt non-interactive flag * bump default terragrunt version * remove --terragrunt-non-interactive (duplicative with env var)
1 parent 2fbfb8e commit e271ff0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ inputs:
236236
description: "Pre-compiled version of digger CLI to install. Must correspond to a valid release tag (vX.Y.Z). This value overrides the version derived from the github.action_ref."
237237
required: false
238238
default: ""
239-
digger-os:
239+
digger-os:
240240
description: "OS variant of the digger CLI to install. Valid configurable values are: windows, linux, darwin, freebsd."
241241
required: false
242242
default: "Linux"
243-
digger-arch:
243+
digger-arch:
244244
description: "Architecture of the digger CLI to install. Valid configurable values are: amd64, arm64, 386."
245245
required: false
246246
default: "X64"

libs/execution/terragrunt.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ func (terragrunt Terragrunt) Init(params []string, envs map[string]string) (stri
2626
func (terragrunt Terragrunt) Apply(params []string, plan *string, envs map[string]string) (string, string, error) {
2727
params = append(params, []string{"-lock-timeout=3m"}...)
2828
params = append(params, "--auto-approve")
29-
params = append(params, "--terragrunt-non-interactive")
3029
if plan != nil {
3130
params = append(params, *plan)
3231
}
@@ -40,7 +39,6 @@ func (terragrunt Terragrunt) Apply(params []string, plan *string, envs map[strin
4039

4140
func (terragrunt Terragrunt) Destroy(params []string, envs map[string]string) (string, string, error) {
4241
params = append(params, "--auto-approve")
43-
params = append(params, "--terragrunt-non-interactive")
4442
stdout, stderr, exitCode, err := terragrunt.runTerragruntCommand("destroy", true, envs, nil, params...)
4543
if exitCode != 0 {
4644
logCommandFail(exitCode, err)

0 commit comments

Comments
 (0)