Table of contents

Delete GCP stacks

You can delete stacks to remove File Storage Security from your GCP environment. You use the same process to delete storage and scanner stacks.

To delete a scanner stack, you must first delete all storage stacks associated with the scanner stack.

When you are deleting the stack from the console, you can copy the script using the Copy Script button. It copies the script onto your clipboard, and you can then paste it into GCP Cloud Shell.

Delete GCP (Deployment Manager) Stacks

To delete the stack from the console:

  1. Sign in to File Storage Security.
    The console appears.
  2. In the table of GCP (Deployment Manager), select a stack.
  3. Click Delete.
  4. Delete the resources associated with the stack:
    1. Click Copy Script.
    2. Click Open Cloud Shell.
  5. Click Delete. The stack is deleted from the console.

You now need to delete the stack deployment in the GCP CloudShell:

  1. Paste and run the script in the CloudShell CLI.
  2. Click Authorize.
  3. Enter "Y" to continue with the deletion.
  4. If you are deleting a scanner stack, you must enter "Y" a second time.

Delete GCP (Terraform) Stacks

To delete the stack from the console:

  1. Sign in to File Storage Security.
    The console appears.
  2. In the table of GCP (Terraform), select a stack.
  3. Click Delete.
  4. Delete the resources associated with the stack:
    1. Remove the JSON object of the stack in tfvars file based on the information Stack Name and Project ID on the console, and then execute this update with terraform apply. If there is only one stack left in the tfvars file, please execute terraform destroy to destroy the entire Terraform deployment.
  5. Click Delete. The stack is deleted from the console.