google-cloud-platform - 为云功能启用 storage.objects.create 访问
问题描述
我按照本教程进行操作,但在部署时卡住了
gcloud beta 函数部署 my-serverless-app-1_0_0 --entry-point handler --trigger-http --stage-bucket medium-post-functions --memory=2048MB
我收到了这个错误
ERROR: (gcloud.beta.functions.deploy) 403 Could not upload file [/var/folders/wh/_71nr4c122nbw45k9zmlhbtm0000gn/T/tmpvW22pK/fun.zip] to [medium-post-functions/us-central1-projects/tutorial-228204/locations/us-central1/functions/my-serverless-app-1_0_0-stchnjlumshy.zip]: myemail@gmail.com does not have storage.objects.create access to medium-post-functions.
我想在谷歌控制台的某个地方我必须启用某些东西的访问权限?
解决方案
按照此文档myemail@gmail.com
为存储桶上的帐户添加正确的权限。medium-post-functions
推荐阅读
- oracle - 将多个值从源表插入到目标表
- java - 获取所选recyclerView项目android的ID
- android - 使用菜单抽屉中的 Jetpack 导航导航到网站
- java - 使用 Jackson 将列表和对象反序列化为相同的结构
- docker-compose - 如何使用 prisma 避免 java.util.concurrent.ThreadPoolExecutor 错误
- wordpress - Wordpress 博客文章未显示
- javascript - Safari - 删除对象时错误的 MD5 内容
- javascript - 如何让一个盒子到达一个大盒子的边缘
- javascript - 在 MongoDB 中显示文档字段时出现问题
- c++ - 作为类成员的 Lambda