Upgrading Protect Function

Protect Function Terraform module contains upgrade functionality with zero downtime release and rollback capabilities.

Diagram below illustrates upgrade process.

GCP Protect Function Upgrade process

Steps in the upgrade process have the following purpose:

  1. Stage - The new version is staged as a separate function in parallel with the production function. The new version can be tested before deploying to production.
  2. Deploy - The new version is deployed to protector function with no interruptions to production traffic.
  3. Rollback - New version can be optionally rolled back to version before upgrade.

Last modified : March 31, 2026