-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Required 'compute.regions.get' permission error #459
Comments
Could you try authenticating as that Service Account and running |
@morgante I've got this error:
Thank you for the hint. So, it's service account missing permissions, not my actual user. Could you please recommend which role should I assign to my service account to tackle this issue, but not to give too much permissions? |
Sounds like you are mixing up service accounts between creating and running a cluster @dborisenko
|
Thank you, @Dev25. Yes, I'm kind of mixing up everything because I'm stuck. So, my first attempt was the following:
And I got that error. My next attempt was to give them both all possible roles listed above (and add some more roles), and it still didn't help. So, I'm now a bit frustrated and don't know what can help. UPD: I am failing even to create a kubernetes cluster. So, the issue is on the level of provisioner service account |
I'd start with adding roles until your PROVISIONING SA can execute |
Hey guys, I managed to solve that problem. It appeared that my provisioner dropped some roles, which are required for GKE to work properly. In particular,
To find that I disabled Kubernetes engine service and enabled it back and google cloud automatically recovered required roles for that service accounts. |
Good day,
I'm trying to use
beta-private-cluster
module of version "~> 7.3" to create a cluster in regioneurope-west2
. But I keep getting error:The weird thing is that I'm trying to do that using user with
Editor
role. So, it should have permission to read region. I tried to add more roles for the user (made it all kind of admins), but the result is still the same.Could you please advice, where can be my mistake?
Thanks in advance, Denis
The text was updated successfully, but these errors were encountered: