ERROR: (gcloud.deployment-manager.deployments.create) ResponseError: code=412, message=Unknown top level field in manifest: runtime
ERROR: (gcloud.deployment-manager.deployments.create) ResponseError: code=412, message=Unknown top level field in manifest: runtime
当 运行
时出现错误
gcloud deployment-manager deployments create my-deployment --config app.yaml
app.yaml的内容:
runtime: nodejs
env: flex
您正在使用命令部署到 Google Cloud Deployment Manager but with a configuration file for the App Engine Flexible Environment。您需要(取决于您要执行的操作)使用 gcloud app deploy
命令或创建 Deployment Manager 配置文件。
当 运行
时出现错误gcloud deployment-manager deployments create my-deployment --config app.yaml
app.yaml的内容:
runtime: nodejs
env: flex
您正在使用命令部署到 Google Cloud Deployment Manager but with a configuration file for the App Engine Flexible Environment。您需要(取决于您要执行的操作)使用 gcloud app deploy
命令或创建 Deployment Manager 配置文件。