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