summaryrefslogtreecommitdiff
path: root/scripts/06-cleanup.sh
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-12-27 22:22:35 +0100
committerSanto Cariotti <santo@dcariotti.me>2024-12-27 22:22:35 +0100
commit299f5ab9c38834fc58b2f2a434c1495ac3d1c554 (patch)
tree319dbf5aa7a9d507b985760e860934484002ca4b /scripts/06-cleanup.sh
parentfc35b02c84c94d5965a8317df6312c9a3ececc68 (diff)
Add scripts
Diffstat (limited to 'scripts/06-cleanup.sh')
-rwxr-xr-xscripts/06-cleanup.sh5
1 files changed, 5 insertions, 0 deletions
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