问题描述
我正在通过发出以下命令来部署简单的Python 3 App Engine应用程序(Flexi环境):gcloud app deploy --version=ver0-1
I'm deploying a simple Python 3 App Engine App (Flexi environment) by issuing following command: gcloud app deploy --version=ver0-1
并出现以下错误:ERROR: (gcloud.app.deploy) Permissions error fetching application [apps/<PROJECT_NAME>]. Please make sure you are using the correct project ID and that you have permission to view applications on the project.
发出以下命令时,我可以确认account
和project
是否正确设置:gcloud config list
I can confirm the account
and project
are correctly setup when I issued following command: gcloud config list
[core]
account = GOOGLE_ACCOUNT_EMAIL_ID
disable_usage_reporting = True
project = PROJECT_NAME_I_WANT_TO_DEPLOY
Your active configuration is: [default]
在权限方面是否缺少任何内容?我是GCP项目负责人.我需要启用任何其他API才能在Flexi环境中与App Engine部署一起使用
Is there anything i'm missing on Permissions front? Im GCP Project Owner. Any addition API I need to enable in order to work with App Engine deployment, in Flexi environment
感谢任何线索!
推荐答案
已解决!使用的是项目名称而不是ID
SOLVED! Was using project name instead of ID
这篇关于gcloud应用程序部署错误:提取应用程序[apps/< PROJECT_NAME>]时出现权限错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!