-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Investigate adding X-Goog-User-Project
header in requests by default
#4059
Comments
Would it be simple to add this to resources that aren't auto-generated by magic-modules? For context; we're being bitten by this when using the |
It wouldn't be simple to do it for all of them in a big sweeping change, but on an individual basis, yup it would be pretty easy. Most of the client libraries we use have a |
I would be up for making the changes myself. I had a quick look at the generated API client for the container service yesterday, so I will take another look today and see if I can find a path. Should we be setting |
Cool! I actually just did a combination generated and handwritten one at GoogleCloudPlatform/magic-modules#2737, so you can take a look at how I did it there. Since using project overrides requires specific IAM permissions, it's best if we continue making it opt-in using the |
Closing as it's not looking like we're going to move forward with this, due to the IAM permissions issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
https://cloud.google.com/apis/docs/system-parameters
This should resolve some issues with
gcloud
-based interactive user credentials.The text was updated successfully, but these errors were encountered: