From c906443407081b5a910b6dec72643ada75fa1dd2 Mon Sep 17 00:00:00 2001 From: Dimitri Mitropoulos Date: Sun, 6 Jan 2019 16:32:55 -0500 Subject: [PATCH] Add zone to cleanup command When I ran the command as described in the tutorial I got the following: ``` ERROR: (gcloud.compute.instances.delete) Underspecified resource [controller-0, controller-1, controller-2, worker-0, worker-1, worker-2]. Specify the [--zone] flag. ``` I believe I do have gcloud set up correctly (although, perhaps I'm wrong) ```bash > gcloud config list compute/zone [compute] zone = us-central1-a ``` --- docs/14-cleanup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/14-cleanup.md b/docs/14-cleanup.md index dc97a3a..9ef5153 100644 --- a/docs/14-cleanup.md +++ b/docs/14-cleanup.md @@ -7,7 +7,7 @@ In this lab you will delete the compute resources created during this tutorial. Delete the controller and worker compute instances: ``` -gcloud -q compute instances delete \ +gcloud -q compute instances delete --zone $(gcloud config get-value compute/zone) \ controller-0 controller-1 controller-2 \ worker-0 worker-1 worker-2 ```