Table of contents
Topics on this page

Update GCP stacks

You must manually update the File Storage Security stacks to take advantage of certain features and fixes. (Currently, File Storage Security does not support automatic updates for stacks or components.)

Not all features and fixes require a stack update. See What's New for details.

Before you begin

Check What's New to see which stack (scanner or storage) you need to update for the feature you want.

Features and fixes that require a stack update are described with the phrase "This functionality requires a stack update".

Update a stack

  1. Go to Stack Management > GCP > Deploy > Deploy Scanner Stack and Storage Stack.

  2. Click Launch Stack to open the Cloud Shell Editor.

    This step is not for launching a new stack but for opening the Cloud Shell Editor for the following steps. The stack does not need to be added to the File Storage Security console again.

  3. Replace terraform.tfvars.json with the one you used for the deployment.

  4. If you use Terraform remote configuration for saving your terraform.tfstate, please add the setting to the template to fetch the terraform.tfstate. If not skip to step 5.

  5. Copy the terraform.tfstate of the deployment to the template's folder.

  6. Run the Terraform commands in Cloud Shell:

    Please confirm the infrastructure changes before executing the Terraform apply command.

    • Update GCP configuration

      terraform -chdir=gcp-configuration init && terraform -chdir=gcp-configuration apply

    • Update All-in-One stack

      terraform -chdir=all-in-one init && terraform -chdir=all-in-one apply

    • Update scanner stack

      terraform -chdir=scanners init && terraform -chdir=scanners apply

    • Update storage stack

      terraform -chdir=storages init && terraform -chdir=storages apply