Destroying the cluster
The easiest way to destroy an autoscale cluster is to use Terraform.
To destroy the cluster:
- From your GCP directory, enter the following and confirm the resources are the ones to destroy.
terraform destroy
If you have VMs in the protected subnet you must manually remove these VMs before destroying the cluster. Output appears as follows after the cluster has been destroyed:
Destroy complete! Resources: 20 destroyed.
- Erase the Firestore database by going to Firestore. Hover over the root collection and select Delete collection.
- Enter the collection name to proceed.