summaryrefslogtreecommitdiff
path: root/shell-scripts/terragrunt
diff options
context:
space:
mode:
Diffstat (limited to 'shell-scripts/terragrunt')
-rwxr-xr-xshell-scripts/terragrunt8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell-scripts/terragrunt b/shell-scripts/terragrunt
index b7a512b..060bc38 100755
--- a/shell-scripts/terragrunt
+++ b/shell-scripts/terragrunt
@@ -45,6 +45,14 @@ case ${TERRAGRUNT_ARGS[0]} in
;;
apply|destroy)
TTY="-t"
+ for arg in $TERRAGRUNT_ARGS; do
+ if [[ $arg -eq "gruntplan" ]]; then
+ TTY=""
+ fi
+ done
+ TERRAGRUNT_ARGS+=(-no-color -compact-warnings)
+ ;;
+ init)
TERRAGRUNT_ARGS+=(-no-color -compact-warnings)
;;
*)