【问题标题】:Why am I still getting a warning after including app_engine_apis in app.yaml?为什么我在 app.yaml 中包含 app_engine_apis 后仍然收到警告?
【发布时间】:2022-01-21 11:59:23
【问题描述】:

我刚刚使用 gcloud app deploy 在 Google App Engine 上部署了一个应用程序,我收到如下警告:

WARNING: There is a dependency on App Engine APIs, but they are not enabled in your app.yaml. Set the app_engine_apis property.

所以我所做的是将app_engine_apis: true 包含在app.yaml 中,保存它,然后再次转到gcloud app deploy。但是我仍然收到同样的警告。我错过了什么?

【问题讨论】:

    标签: google-app-engine google-app-engine-python


    【解决方案1】:

    我通过运行修复了警告:

    google beta app deploy
    

    而不是

    google app deploy
    

    我从this document 得到了修复。我认为这是必要的,因为在给出这个答案时,python2 app_engine_apis 到 python3 的迁移尚未完成。

    【讨论】:

      猜你喜欢
      • 2021-10-23
      • 2019-04-14
      • 1970-01-01
      • 1970-01-01
      • 2010-12-20
      • 2019-11-16
      • 2011-11-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多