-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat(gcp): current region methods #421
base: main
Are you sure you want to change the base?
Conversation
kevmoo
commented
Jul 6, 2023
- feat(gcp): current region methods
- region hacking generalization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some small documentation nits.
/// For context, see: | ||
/// * https://cloud.google.com/functions/docs/env-var | ||
/// * https://cloud.google.com/compute/docs/gcloud-compute#default_project | ||
/// * https://github.com/GoogleContainerTools/gcp-auth-webhook/blob/08136ca171fe5713cc70ef822c911fbd3a1707f5/server.go#L38-L44 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This particular GitHub reference is erroneous from my previous commit; looks like it's carried forward from the project-id definition, and doesn't reference any region related environment variables.
/// A set of typical environment variables that are likely to represent the | ||
/// current Google Cloud instance region. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// A set of typical environment variables that are likely to represent the | |
/// current Google Cloud instance region. | |
/// A [Project ID](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) | |
/// that represents the current Google Cloud Project. |
/// A set of typical environment variables that are likely to represent the | ||
/// current Google Cloud instance region. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// A set of typical environment variables that are likely to represent the | |
/// current Google Cloud instance region. | |
/// A [Region](https://cloud.google.com/compute/docs/regions-zones#identifying_a_region_or_zone) | |
/// that represents the current Google Cloud instance region. |