From f1d310658f8f8d7b1c1c7cf802cb98a451a61ed1 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 26 Jan 2025 15:08:12 +0100 Subject: Add debug env on scripts --- scripts/03-update-network-for-dataproc.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/03-update-network-for-dataproc.sh') diff --git a/scripts/03-update-network-for-dataproc.sh b/scripts/03-update-network-for-dataproc.sh index c091f22..47f78d6 100755 --- a/scripts/03-update-network-for-dataproc.sh +++ b/scripts/03-update-network-for-dataproc.sh @@ -1,5 +1,9 @@ #!/bin/sh +if [ ${DEBUG:+1} ]; then + set -euxo pipefail +fi + gcloud compute networks subnets update default \ --region=${REGION} \ --enable-private-ip-google-access -- cgit v1.2.3-18-g5258