~damien/infrastructure

b481ba41c3bbdf8d4f9c0393f87b495160adc414 — Damien Radtke 4 years ago d65c8cf
Suppress cluster env output if non-interactive
1 files changed, 1 insertions(+), 1 deletions(-)

M tools/set-cluster-env
M tools/set-cluster-env => tools/set-cluster-env +1 -1
@@ 49,7 49,7 @@ else
	export VAULT_CLIENT_CERT="${HOME}/vault-cli.pem"
	export VAULT_CLIENT_KEY="${HOME}/vault-cli-key.pem"

	echo "$(tput dim)cluster environment set for workspace \"$(terraform workspace show)\"$(tput sgr0)" >&2
	[[ -t 1 ]] && echo "$(tput dim)cluster environment set for workspace \"$(terraform workspace show)\"$(tput sgr0)" >&2

	popd >/dev/null
fi