Pulumi GCP Provider Version Upgrade Guide
Version 10.0.0 of the GCP provider for Pulumi is a major release and includes changes that you need to consider when upgrading. This release focuses only on changes from version 9.x to version 10.0.0, and tracks the upstream terraform-provider-google-beta v8.5.0 release. See the Version 9 Upgrade Guide for information on upgrading from 8.x to version 9.0.0.
Read the Version 10 Upgrade Guide before upgrading. It covers every change below, with a command you can run against your own stacks to tell whether you are affected, and remediation in all six languages.
How to upgrade
pulumi up --refresh # before the bump, with 9.x still installed
pulumi up --refresh --run-program # after the bump to 10.0.0See How to upgrade for why both flags matter.
Noteworthy Breaking changes
gcp.bigquery.Dataset: an undeclareddefaultCollationis now clearedgcp.cloudrunv2.WorkerPool: probe header fields changedgcp.compute.BackendServiceandgcp.compute.GlobalForwardingRule:loadBalancingSchemenow defaults toEXTERNAL_MANAGEDgcp.compute.Instance: aguestAcceleratorcount of0now replaces the instancegcp.compute.Reservation: top-levelreservationBlockCountremovedgcp.compute.ServiceAttachment:natSubnetsandconsumerRejectListsare now setsgcp.container.Cluster: theenableComponentsfields are now setsgcp.container.Clusterandgcp.container.NodePool:namePrefixmay now be up to 31 charactersgcp.iap.Brandandgcp.iap.Client: removedgcp.monitoring.UptimeCheckConfig: the two password fields are now mutually exclusivegcp.notebooks: the module has been removedgcp.secretmanager.SecretVersion:secretDataWoVersionis required alongsidesecretDataWo, and is a stringgcp.workflows.Workflow:sourceContentsis now required
Full Changelog: v9.37.1...v10.0.0