1. Packages
  2. Google Cloud (GCP) Classic
  3. How-to Guides
  4. GCP 8.0 Migration Guide
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

Migrating from GCP 7.x to 8.x

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Upstream Changes

    The v8 release of the pulumi-gcp provider is targeting upstream v6.0.1. Please refer to the upstream migration guide as well as the v.6.0.0 CHANGELOG.

    Of note: Multiple resources now have a new field deletionProtection which is set to true by default and will prevent these resources from getting deleted with pulumi destroy. When upgrading, it is recommended you add this field and set it to the desired behavior.

    Breaking Changes

    cloudrunv2.Service Ports

    The following change is additionally breaking in Pulumi:

    The template.containers[].ports field in cloudrunv2.Service has been changed from a list item to an object item. You may need to make a small adjustment to your code to reflect this change.

    Default label

    This version of the provider adds a new global default label, goog-pulumi-provisioned, to each resource. It will be written to the pulumiLabels and effectiveLabels output fields. Note that this label is not managed in the resource’s labels field. It is set by the provider, to help differentiate pulumi-provisioned resources from others in the GCP console. To opt out of this default behavior, set addPulumiAttributionLabel to false:

    pulumi config set gcp:addPulumiAttributionLabel false
    
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi