diff --git a/5-teardown-cloud-resources.sh b/5-teardown-cloud-resources.sh index 63868db..86160fa 100755 --- a/5-teardown-cloud-resources.sh +++ b/5-teardown-cloud-resources.sh @@ -13,6 +13,6 @@ for project in $(gcloud projects list | awk '{ print $1 }' | grep gitlab); do for instance in $(gcloud compute instances list --project $project --format="value(name)"); do # Delete the instance - gcloud compute instances delete --quiet $instance --zone australia-southeast1-a + gcloud compute instances delete --quiet $instance --zone australia-southeast1-a --project $project done done diff --git a/README.org b/README.org index e12dfde..5a10d7b 100644 --- a/README.org +++ b/README.org @@ -121,7 +121,7 @@ for project in $(gcloud projects list | awk '{ print $1 }' | grep gitlab); do for instance in $(gcloud compute instances list --project $project --format="value(name)"); do # Delete the instance - gcloud compute instances delete --quiet $instance --zone australia-southeast1-a + gcloud compute instances delete --quiet $instance --zone australia-southeast1-a --project $project done done #+end_src