作为初学者,我创建了一个源代码存储库并编写了一些基本的 terraform 代码,然后由 Cloud Build 执行。
我从控制台创建了 Cloud Build,并将其配置为在推送到 dev 分支时触发。
此时我从控制台收到一个错误:
Failed to trigger build: unable to get call option credentials for cloud build robot: generic::permission_denied: error generating service identity: tenantmanager::123456: Consumer 1234567899 should enable service:cloudbuild.googleapis.com before generating a service account. com.google.api.tenant.error.TenantManagerException: Consumer 1234567899 should enable service:cloudbuild.googleapis.com before generating a service account.
Run Code Online (Sandbox Code Playgroud)
仍在尝试弄清楚如何解决这个问题。感谢任何指点。
谢谢