Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorials/base/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cd $TF_DIR
terraform destroy -auto-approve -var=project_id=$PROJECT_ID -var=region=$REGION
cd $ROOT_DIR

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/deploy-hooks-run/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ terraform destroy -auto-approve -var=project_id=${PROJECT_ID} -var=region=${REGI

cd ${ROOT_DIR}

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/deployment-strategies-run/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ terraform destroy -auto-approve -var=project_id=${PROJECT_ID} -var=region=${REGI

cd ${ROOT_DIR}

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/e2e-run/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ terraform destroy -auto-approve -var=project_id=${PROJECT_ID} -var=region=${REGI

cd ${ROOT_DIR}

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/e2e-run/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ run_terraform() {
cd ${TF_DIR}

sed "s/bucket=.*/bucket=\"$BACKEND\"/g" main.template > main.tf
gsutil mb gs://${BACKEND} || true
gcloud storage buckets create gs://${BACKEND} || true

terraform init
terraform plan -out=terraform.tfplan -var="project_id=${PROJECT_ID}" -var="region=${REGION}"
Expand Down
2 changes: 1 addition & 1 deletion tutorials/exec-envs/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cd $TF_DIR
terraform destroy -auto-approve -var=project_id=$PROJECT_ID -var=region=$REGION
cd $ROOT_DIR

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/external-integration/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cd $TF_DIR
terraform destroy -auto-approve -var=project_id=$PROJECT_ID -var=region=$REGION
cd $ROOT_DIR

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/private-targets/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cd $TF_DIR
terraform destroy -auto-approve -var=project_id=$PROJECT_ID -var=region=$REGION
cd $ROOT_DIR

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/profiles/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cd $TF_DIR
terraform destroy -auto-approve -var=project_id=$PROJECT_ID -var=region=$REGION
cd $ROOT_DIR

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down
2 changes: 1 addition & 1 deletion tutorials/verification-run/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ terraform destroy -auto-approve -var=project_id=${PROJECT_ID} -var=region=${REGI

cd ${ROOT_DIR}

gsutil rm -r gs://$BACKEND/
gcloud storage rm --recursive gs://$BACKEND/

rm -rf $TF_DIR/.terraform
rm -rf $TF_DIR/main.tf
Expand Down