We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ce4017 commit 7ef2292Copy full SHA for 7ef2292
destroy.sh
@@ -73,6 +73,8 @@ function workstation::delete() {
73
-var "vm_name=${vm_name}" \
74
-var "project=${gcp_project}"
75
76
+ rm .terraform/terraform.tfstate
77
+
78
popd > /dev/null
79
}
80
@@ -84,7 +86,7 @@ function tfstate::delete() {
84
86
service_account_json="${2}"
85
87
88
gcloud auth activate-service-account --key-file="${service_account_json}"
- gsutil rm -rf "gs://cf-buildpacks-workstations/${vm_name}"
89
+ gsutil rm -r "gs://cf-buildpacks-workstations/${vm_name}"
90
91
92
main "${@:-}"
0 commit comments