From 299f5ab9c38834fc58b2f2a434c1495ac3d1c554 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 27 Dec 2024 22:22:35 +0100 Subject: Add scripts --- scripts/06-cleanup.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/06-cleanup.sh (limited to 'scripts/06-cleanup.sh') diff --git a/scripts/06-cleanup.sh b/scripts/06-cleanup.sh new file mode 100755 index 0000000..50c10f7 --- /dev/null +++ b/scripts/06-cleanup.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +gcloud storage rm -r gs://${BUCKET_NAME} +gcloud dataproc clusters delete ${CLUSTER} --region=${REGION} +gcloud iam service-accounts delete ${SERVICE_ACCOUNT}@${PROJECT}.iam.gserviceaccount.com -- cgit v1.2.3-18-g5258