summaryrefslogtreecommitdiff
path: root/shell-scripts/terragrunt
diff options
context:
space:
mode:
authorMike Vink <mike.vink@stater.nl>2023-04-22 00:36:44 +0200
committerMike Vink <mike.vink@stater.nl>2023-04-22 00:36:44 +0200
commit918357587182a16fe7dde77cb5bfc3db0598565b (patch)
tree5092001e0c2748d7e11d00b257facf2d6cd37419 /shell-scripts/terragrunt
parent6e37e097a59e7ce95a29754c420b8fefa8a16112 (diff)
fix plans
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)
;;
*)