【发布时间】:2020-10-21 07:45:07
【问题描述】:
我正在尝试部署应用程序,但 gcloud 通知我没有权限,即使我是具有 Owner 规则的帐户的主要用户,请参阅:Deploy console
我的gcloud auth list:
Credentialed Accounts
ACTIVE ACCOUNT
* hi@myemail.com
myproject@appspot.gserviceaccount.com
To set the active account, run:
$ gcloud config set account `ACCOUNT`
我的gcloud init(默认项目没问题):
Welcome! This command will take you through the configuration of gcloud.
Settings from your current configuration [myproject] are:
core:
account: hi@myemail.com
disable_usage_reporting: 'False'
project: myproject
Pick configuration to use:
[1] Re-initialize this configuration [myproject] with new settings
[2] Create a new configuration
项目“myproject”的我的 IAM 和管理员权限:IAM List
如何解决这个问题?这是我帐户中唯一的项目。
【问题讨论】:
-
你能分享你为此运行的完整命令吗?
gcloud app ... -
@FerVelvet gcloud app deploy site.yaml --version=2