Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GAE region detection #409

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Jun 3, 2022

Fixes #408. We can't parse the zone the same way as we do on GCE, so we have to use the zone from "instance/zone" and region from "instance/region" (same as Cloud run and Cloud functions).

@dashpole dashpole marked this pull request as ready for review June 3, 2022 21:36
@dashpole dashpole requested a review from damemi June 3, 2022 21:36
@dashpole dashpole marked this pull request as draft June 3, 2022 22:01
@dashpole dashpole marked this pull request as ready for review June 6, 2022 14:10
@dashpole dashpole merged commit e818bf8 into GoogleCloudPlatform:main Jun 6, 2022
@dashpole dashpole deleted the fix_gae_detect branch June 6, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resource detection on GAE: zone was not in the expected format
2 participants