asia-northeast2 区域没有足够的可用资源来满足请求。请稍后再试

The region asia-northeast2 does not have enough resources available to fulfill the request. Please try again later

我一直收到这个错误。我已经尝试部署到 gcp 超过 6 个小时。有什么解决办法不等待吗?

ERROR: (gcloud.app.deploy) Error Response: 
[9] Flex operation projects/XXX/regions/asia-northeast2/operations/XXX error 
[FAILED_PRECONDITION]: An internal error occurred while processing task /app-engine-flex/flex_await_healthy/flex_await_healthy>XXX: 
The region asia-northeast2 does not have enough resources available to fulfill the request. 
Please try again later.

这是我的 app.yaml 文件

runtime: nodejs
env: flex

automatic_scaling:
    max_num_instances: 2

env_variables:
    SQL_USER: XXX
    SQL_PASSWORD: XXX
    SQL_DATABASE: XXX
    INSTANCE_CONNECTION_NAME: XXX:asia-northeast2:XXX

beta_settings:
    cloud_sql_instances: XXX:asia-northeast2:XXX

您遇到的问题是由于 asia-northeast2 资源的可用性。

为了解决这个问题,我建议您检查一下 answer

此外,您还可以尝试以下选项:

  • 等待asia-northeast2的资源再次可用

  • 您可以从 Flex 环境更改为标准环境,并在出现提示时 select 另一个区域进行部署。

  • 运行 另一个产品中的项目(Cloud 运行、GKE...)。