使用适当的IAM权限部署Firebase功能

时间:2020-04-07 06:14:47

标签: firebase google-cloud-functions

我在部署到Firebase函数时遇到问题,这是我在该项目上的首次部署。但是我过去从未遇到过任何问题。这是我得到的错误。

Deployment error.
Build failed: Unable to build your function due to VPC Service Controls. The Cloud Build 
service account associated with this function needs an appropriate access level on the 
service perimeter. Please grant access to the Cloud Build service account: 
'844843400202@cloudbuild.gserviceaccount.com' by following the instructions at
 https://cloud.google.com/access-context-manager/docs/create-access-level#members-example.

我已经在xxxx@cloudbuild.gserviceaccount.com上启用了Cloud Functions Developer的权限。
角色:
编辑器
管理员
服务帐户用户
云功能开发人员
云构建服务帐户
运气

谢谢。

0 个答案:

没有答案