Skip to content

GCP routes don't support updating @pulumi/gcp version #3236

@carlpaten-ivadolabs

Description

@carlpaten-ivadolabs

Describe what happened

I upgraded Pulumi and now my routes are giving me trouble:

Updating (main):
  pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:main::cwpe::pulumi:pulumi:Stack::cwpe]
    ~ gcp:compute/route:Route: (update)
        [id=projects/cwpe-project/global/routes/default-route]
        [urn=urn:pulumi:main::cwpe::gcp:compute/route:Route::cwpe-vpc-internet-route]
        [provider=urn:pulumi:main::cwpe::pulumi:providers:gcp::default_8_32_1::49c7a01e-23c1-4d21-99fa-b17c8a89a5ec]
      + asPaths : <null>
      + warnings: <null>
error:   sdk-v2/provider2.go:566: sdk.helper_schema: doesn't support update: [email protected]

error: 1 error occurred:
	* updating urn:pulumi:main::cwpe::gcp:compute/route:Route::cwpe-vpc-internet-route: 1 error occurred:
	* doesn't support update

Sample program

export const cwpe_vpc_internet_route = new gcp.compute.Route(
  'default-route',
  {
    description: 'Default route to the Internet.',
    destRange: '0.0.0.0/0',
    name: 'default-route',
    network: 'cwpe-vpc',
    nextHopGateway:
      'https://www.googleapis.com/compute/beta/projects/cwpe-vpc/global/gateways/default-internet-gateway',
    project: 'cwpe',
  },
)

Log output

Updating (main):
  pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:main::cwpe::pulumi:pulumi:Stack::cwpe]
    ~ gcp:compute/route:Route: (update)
        [id=projects/cwpe-project/global/routes/default-route]
        [urn=urn:pulumi:main::cwpe::gcp:compute/route:Route::cwpe-vpc-internet-route]
        [provider=urn:pulumi:main::cwpe::pulumi:providers:gcp::default_8_32_1::49c7a01e-23c1-4d21-99fa-b17c8a89a5ec]
      + asPaths : <null>
      + warnings: <null>
error:   sdk-v2/provider2.go:566: sdk.helper_schema: doesn't support update: [email protected]

error: 1 error occurred:
	* updating urn:pulumi:main::cwpe::gcp:compute/route:Route::cwpe-vpc-internet-route: 1 error occurred:
	* doesn't support update

Affected Resource(s)

Route

Output of pulumi about

pulumi about
CLI          
Version      3.170.0
Go Version   go1.24.3
Go Compiler  gc

Plugins
KIND      NAME          VERSION
resource  docker-build  0.0.10
resource  gcp           8.32.1
resource  gcp           8.20.0
resource  gcp           8.19.0
resource  kubernetes    4.23.0
language  nodejs        3.170.0
resource  random        4.18.0
resource  twingate      3.0.16

Host     
OS       darwin
Version  15.4.1
Arch     arm64

This project is written in nodejs: executable='/Users/carl/.nvm/versions/node/v22.13.1/bin/node' version='v22.13.1'

Current Stack: organization/pulumi-infra/main

...

Found no pending operations associated with main

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-feedbackBlocked on input from the authorawaiting-upstreamThe issue cannot be resolved without action in another repository (may be owned by Pulumi).blockedThe issue cannot be resolved without 3rd party action.kind/bugSome behavior is incorrect or out of spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions