Fortinet white logo
Fortinet white logo

GCP Administration Guide

Destroying the cluster

Destroying the cluster

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

To destroy the cluster:
  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 appears 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

Destroying the cluster

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

To destroy the cluster:
  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 appears 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