Skip to content

Commit

Permalink
[skip ci] Add state command to promptable run-all
Browse files Browse the repository at this point in the history
  • Loading branch information
yorinasub17 committed Feb 2, 2021
1 parent f4e6085 commit bc6f70b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/cli_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,8 @@ func runAll(terragruntOptions *options.TerragruntOptions) error {
prompt = "Are you sure you want to run 'terragrunt apply' in each folder of the stack described above?"
case "destroy":
prompt = "WARNING: Are you sure you want to run `terragrunt destroy` in each folder of the stack described above? There is no undo!"
case "state":
prompt = "Are you sure you want to manipulate the state with `terragrunt state` in each folder of the stack described above? Note that absolute paths are shared, while relative paths will be relative to each working directory."
}
if prompt != "" {
shouldRunAll, err := shell.PromptUserForYesNo(prompt, terragruntOptions)
Expand Down

0 comments on commit bc6f70b

Please sign in to comment.