我有这么多的权限,但我仍然收到更新项目 googleapi 时出错:错误 403:调用者没有权限,禁止

发布于 2025-01-14 03:28:39 字数 577 浏览 5 评论 0原文

我在组织级别的权限是

Billing Account Administrator 
Billing Account Creator 
Billing Account Viewer 
Folder Creator 
Organization Policy Administrator 
Organization Viewer 
Owner 
Project Billing Manager 
Project Creator 
Project IAM Admin 
Project Mover 
Security Admin 
Service Account Token Creator 
Service Usage Admin Viewer

我尝试在 Terraform 中重新部署一个项目,该项目构建云构建和 terraform 服务帐户并设置一些 IAM 角色。我仍在本地进行这些资源的初始部署,所以我很确定我有这样做的权限?我可能需要什么才能停止收到错误:更新项目“______”时出错:googleapi:错误 403:调用者没有权限,在我的 google_project 资源上被禁止。

老实说,目前这没有意义,因为我觉得我绝对超载了,但仍然收到此错误。

My permissions at the organization level are

Billing Account Administrator 
Billing Account Creator 
Billing Account Viewer 
Folder Creator 
Organization Policy Administrator 
Organization Viewer 
Owner 
Project Billing Manager 
Project Creator 
Project IAM Admin 
Project Mover 
Security Admin 
Service Account Token Creator 
Service Usage Admin Viewer

I'm trying to redeploy a project in Terraform that builds cloud build and a terraform service account and set some IAM roles. I'm still doing the initial deployment of these resources locally, so I'm pretty sure the permissions to do this fall on me? What could I possibly need to stop getting the error: Error updating project "______": googleapi: Error 403: The caller does not have permission, forbidden on my google_project resource.

It honestly doesn't make sense at this point because I feel like I'm absolutely overloaded and still getting this error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

离鸿 2025-01-21 03:28:39

我怎么知道我的帐户有适当的权限来运行,我通常会去参考文献来检查我的权限。在这种情况下,我将使用 方法: items.builds.create 尝试该方法,看看会显示什么响应。

另外,请查看 IAM 角色和权限,您可以使用预定义的 Cloud在特定项目中构建 Cloud Build Editor 的角色。

How should I know my account has proper permissions to run, I usually go to reference to check my permission. In this case, I would go to Method: projects.builds.create try that method, and see what response will show.

Also, check out IAM roles and permissions, you may use predefined Cloud Build roles of Cloud Build Editor in specific project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文