You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deploys with 15.17.0 fail without explicit setGlobalOptions({ region: 'us-central1' }) with vpcConnector #10467
Try deploying a function defined like that without setGlobalOptions({ region: 'us-central1' })
These are existing functions already in us-central1 - the same region as the VPC connector.
[REQUIRED] Expected behavior
Function deploys as expected.
[REQUIRED] Actual behavior
Errors with: functions: Request to https://cloudfunctions.googleapis.com/v2/projects/%%service-url%% had HTTP Error: 400, Could not update Cloud Run service servicename. spec.template.metadata.annotations: The target region us-central1 for the deployment must be the same as the reg
Sorry you encountered this issue, and thanks for reporting this to us @samsargent. I was able to reproduce the error. We made some changes related to the Cloud Function's default resource locations and it's possible this caused the issue. Will raise this to our engineering team and mark this as reproducible.
This was fixed by #10471, which shipped in v15.18.0. Upgrading to v15.18.0 or later should let you remove the setGlobalOptions({ region: 'us-central1' }) workaround. I'll close this for now, but please reopen it if you still see the error on a recent version.
Activity
aalej commentedon May 7, 2026
Sorry you encountered this issue, and thanks for reporting this to us @samsargent. I was able to reproduce the error. We made some changes related to the Cloud Function's default resource locations and it's possible this caused the issue. Will raise this to our engineering team and mark this as reproducible.
Sharing my mcve here - https://github.com/aalej/issues-10467
samsargent commentedon May 8, 2026
Thanks @aalej - I did see something about that in the changelog when I went digging so figured as much - thanks for making the example repro for me!
Everything is in
us-central1for us do that workaround seems to be working ok for now.IzaakGough commentedon Oct 16, 2026
This was fixed by #10471, which shipped in v15.18.0. Upgrading to v15.18.0 or later should let you remove the setGlobalOptions({ region: 'us-central1' }) workaround. I'll close this for now, but please reopen it if you still see the error on a recent version.