【发布时间】:2020-06-20 18:49:03
【问题描述】:
我正在尝试使用谷歌云终端发布我的烧瓶 api。
在谷歌云终端上输入“gcloud app deploy”后一段时间后我收到此错误
{\"ResourceType\":\"compute.beta.regionAutoscaler\",
\"ResourceErrorCode\":\"403\",
\"ResourceErrorMessage\":{\"code\":403,
\"message\":\"The caller does not have permission\",
\"status\":\"PERMISSION_DENIED\",
\"statusMessage\":\"Forbidden\",
\"requestPath\":\"https://compute.googleapis.com/compute/beta/projects/<MYAPPNAME>/regions/europe-west1/autoscalers\",
\"httpMethod\":\"POST\"}
这些权限是我自己授予的:
【问题讨论】:
-
尝试运行
gcloud app deploy --log-http --verbosity:debug并与我们分享输出 -
我通过在 app.yaml 中添加一些设置解决了这个问题
标签: python api web-services flask google-cloud-platform