summaryrefslogtreecommitdiff
path: root/shell-scripts/terragrunt
diff options
context:
space:
mode:
authorMike Vink <mike.vink@stater.nl>2023-04-24 18:31:20 +0200
committerMike Vink <mike.vink@stater.nl>2023-04-24 18:31:20 +0200
commit2ae625f60819b9d6bc46d5a3926d53b3d2838ef7 (patch)
treeab2ff6b1b0748bd2330cb82fdfcf88c686da0139 /shell-scripts/terragrunt
parente2b0db1ece5e8dfad49e8f2ea72dca4f34681a4d (diff)
fixup
Diffstat (limited to 'shell-scripts/terragrunt')
-rwxr-xr-xshell-scripts/terragrunt4
1 files changed, 0 insertions, 4 deletions
diff --git a/shell-scripts/terragrunt b/shell-scripts/terragrunt
index 7b3ea92..007ee26 100755
--- a/shell-scripts/terragrunt
+++ b/shell-scripts/terragrunt
@@ -55,9 +55,6 @@ case ${TERRAGRUNT_ARGS[0]} in
init)
TERRAGRUNT_ARGS+=(-no-color -compact-warnings)
;;
- *)
- exit 1
- ;;
esac
VARIABLES=""
@@ -90,7 +87,6 @@ WORKDIR="$ENVIRONMENTS/$ENV/$MODULE"
# TODO(mike): how to do concise mode | grep -E '(^.*[#~+-] .*|^[[:punct:]]|Plan)'
# TODO(mike): check expiry of azure directory
# echo "docker run --rm -i $TTY $VARIABLES -v $HOME/.terragrunt-cache:/tmp -v $HOME/.azure:/root/.azure -v $HOME/.netrc:/root/.netrc $TERRAGRUNT_EXTRA_MOUNTS -v ${REPO}:${REPO} -w ${WORKDIR} $TERRAGRUNT_CONTAINER terragrunt ${TERRAGRUNT_ARGS[@]} | grep -E '(^.*[#~+-] .*|^[[:punct:]]|Plan|Enter)'"
-echo $VARIABLES
if [[ $FULL -eq 0 ]]; then
docker run --rm -i $TTY $VARIABLES -v $HOME/.terragrunt-cache:/tmp -v $HOME/.azure:/root/.azure -v $HOME/.netrc:/root/.netrc $EXTRA_MOUNTS -v ${REPO}:${REPO} -w ${WORKDIR} $TERRAGRUNT_CONTAINER terragrunt ${TERRAGRUNT_ARGS[@]} | filter-ansi | grep --line-buffered -E '(^ .*[#~+-] .*|^[[:punct:]]|^Plan.*|^\S.*)'
else