From 281eb61952c805d3ef28a2e70b723430468ee1c9 Mon Sep 17 00:00:00 2001 From: Rodrigo Faria <4534033+falico@users.noreply.github.com> Date: Sat, 23 Nov 2019 12:10:14 -0300 Subject: [PATCH] Fixed ZONE as primary_location The current fix for #35 forgot to also change the ZONE variable in scripts/validate.sh --- scripts/validate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate.sh b/scripts/validate.sh index 4738dd9..38efb77 100755 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -34,7 +34,7 @@ APP_NAME=$(kubectl get deployments -n default \ APP_MESSAGE="deployment \"$APP_NAME\" successfully rolled out" cd "$ROOT/terraform" || exit; CLUSTER_NAME=$(terraform output cluster_name) \ - ZONE=$(terraform output primary_zone) + ZONE=$(terraform output primary_location) # Get credentials for the k8s cluster gcloud container clusters get-credentials "$CLUSTER_NAME" --zone="$ZONE"