Fortinet black logo

GCP Administration Guide

Destroying the cluster

Copy Link
Copy Doc ID 62d32ecf-687f-11ea-9384-00505692583a:564580
Download PDF

Destroying the cluster

The easiest way to destroy an autoscale cluster is to use Terraform.

  1. 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.

  2. Output should appear as follows after the cluster has been destroyed:
    Destroy complete! Resources: 20 destroyed.
  3. Erase the Firestore database by navigating to Firestore. Hover over the root collection and select Delete collection.

    Delete collection

  4. Enter the collection name to proceed.

    Confirm deletion

Destroying the cluster

The easiest way to destroy an autoscale cluster is to use Terraform.

  1. 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.

  2. Output should appear as follows after the cluster has been destroyed:
    Destroy complete! Resources: 20 destroyed.
  3. Erase the Firestore database by navigating to Firestore. Hover over the root collection and select Delete collection.

    Delete collection

  4. Enter the collection name to proceed.

    Confirm deletion