简体   繁体   English

执行 Google Dataform 工作流程会导致错误访问被拒绝

[英]Execution of Google Dataform workflow gives error access denied

I tried to manually execute a Google Dataform workflow, but it gives me the following error:我尝试手动执行 Google Dataform 工作流程,但它给了我以下错误:

Access Denied: Project 6398708432: User does not have bigquery.jobs.create permission in project 6398708432.访问被拒绝:项目 6398708432:用户在项目 6398708432 中没有 bigquery.jobs.create 权限。

What should I do to fix this?我应该怎么做才能解决这个问题?

The service account processing the workflow needs the following roles to be able to execute the Google Dataform workflow:处理工作流的服务帐户需要以下角色才能执行 Google Dataform 工作流:

  • Bigquery Job User Bigquery 作业用户
  • Bigquery User大查询用户
  • Bigquery data editor Bigquery 数据编辑器

In IAM of your project add these roles to the service account:在您项目的 IAM 中,将这些角色添加到服务帐户:
service-YOUR_PROJECT_ID@gcp-sa-dataform.iam.gserviceaccount.com服务-YOUR_PROJECT_ID@gcp-sa-dataform.iam.gserviceaccount.com

See also more explanation here:另请参阅此处的更多说明:
https://cloud.google.com/dataform/docs/quickstart#grant-access-bigquery https://cloud.google.com/dataform/docs/quickstart#grant-access-bigquery

用于使用数据表单的 iam 角色服务帐户

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Dataform 表创建时,我收到错误消息“BigQuery:获取驱动器凭据时权限被拒绝” - With Dataform table creation I get an error "BigQuery: Permission denied while getting Drive credentials" 使用 Google Source Repository 的 Dataform git 连接 - Dataform git connection using Google Source Repository 为 Google Dataform 创建的存储库存储在哪里? - Where is the repository stored that is created for Google Dataform? Google BigQuery 中的查询表有错误“访问被拒绝:BigQuery BigQuery:通配文件模式时权限被拒绝。” - Query table in Google BigQuery has error "Access Denied: BigQuery BigQuery: Permission denied while globbing file pattern." TPU-VM 在访问 Bucket 时拒绝访问 - TPU-VM gives access denied when accessing Bucket 如何在 Beam 管道中设置 GOOGLE_APPLICATION_CREDENTIALS 以解决拒绝访问错误? - How to set GOOGLE_APPLICATION_CREDENTIALS in beam pipeline to resolve Access Denied Error? Terraform 错误刷新 state 访问被拒绝 - Terraform error refreshing state access denied 使用云端在 s3 上访问被拒绝错误 - Access Denied error on s3 with cloudfront 拒绝访问 Google Cloud 官方应用中的大多数功能,为什么? - Access denied to most features in Google Cloud official app, why? Docker 映像构建 Windows 10 上的“访问被拒绝”错误 - Docker image build "Access is denied” error on Windows 10
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM