summaryrefslogtreecommitdiff
path: root/scripts/07-cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/07-cleanup.sh')
-rwxr-xr-xscripts/07-cleanup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/07-cleanup.sh b/scripts/07-cleanup.sh
new file mode 100755
index 0000000..50c10f7
--- /dev/null
+++ b/scripts/07-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