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 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.
  2. Erase the Firestore database by going to Firestore. Hover over the root collection and select Delete collection.

    Delete collection

  3. 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 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.
  2. Erase the Firestore database by going to Firestore. Hover over the root collection and select Delete collection.

    Delete collection

  3. Enter the collection name to proceed.

    Confirm deletion