我创建了一个服务帐户,以便将项目部署到Google应用引擎。
我创建的服务帐户有以下两个角色:
我下载了json密钥文件,然后运行以下命令:
gcloud auth activate-service-account --key-file key.json
gcloud -q app deploy app_deploy.yaml --version 1.0 --promote
gcloud -q app deploy --version 1.0 index.yaml queue.yaml
我收到此错误消息:
You are about to update the following configurations:
- zeetings-modular-konga/queue (from [/Users/antkong/dev/app/queue.yaml])
- zeetings-modular-konga/index (from [/Users/antkong/dev/app/index.yaml])
Updating config [queue]...failed.
ERROR: (gcloud.app.deploy) Server responded with code [403]:
Forbidden Unexpected HTTP status 403.
You do not have permission to modify this app (app_id=u's~myapp').
我的问题:
1)我需要什么许可才能让最后gcloud -q app deploy
工作?
2)在google cloud sdk文档中哪里可以找到权限?我的google-fu让我失望了。