You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm migrating some of our workflows to terragrunt run and would like some clarity on the new CLI pattern.
As of 0.80.2, terragrunt --help still shows the "single dash" arguments (-auto-approve, -destroy, -input=false|true, etc.) are valid, but they throw a "flag provided but not defined" error when used with terragrunt run.
Must all single dash arguments now be placed after a double dash?
For example,
terragrunt plan --terragrunt-non-interactive -input=false -destroy
would now be
terragrunt run plan --non-interactive -- -input=false -destroy
Is that correct?
Are there any single dash arguments that would not follow a --?
Somewhat related, the Migration Guide also provides the following "usually isn’t necessary" example:
terragrunt run -- apply -auto-approve.
When would one want to specify apply after the -- instead of terragrunt run apply -- -auto-approve?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm migrating some of our workflows to
terragrunt run
and would like some clarity on the new CLI pattern.As of
0.80.2
,terragrunt --help
still shows the "single dash" arguments (-auto-approve
,-destroy
,-input=false|true
, etc.) are valid, but they throw a "flag provided but not defined" error when used withterragrunt run
.Must all single dash arguments now be placed after a double dash?
For example,
terragrunt plan --terragrunt-non-interactive -input=false -destroy
would now be
terragrunt run plan --non-interactive -- -input=false -destroy
Is that correct?
Are there any single dash arguments that would not follow a
--
?Somewhat related, the Migration Guide also provides the following "usually isn’t necessary" example:
terragrunt run -- apply -auto-approve
.When would one want to specify
apply
after the--
instead ofterragrunt run apply -- -auto-approve
?Beta Was this translation helpful? Give feedback.
All reactions