From bc6f70b6938c5696a79839f3eed63cecad9639e6 Mon Sep 17 00:00:00 2001 From: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> Date: Tue, 2 Feb 2021 09:37:59 -0600 Subject: [PATCH] [skip ci] Add state command to promptable run-all --- cli/cli_app.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/cli_app.go b/cli/cli_app.go index b9959dd93b..d57b3a0992 100644 --- a/cli/cli_app.go +++ b/cli/cli_app.go @@ -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)