ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Network 'default' does not exist

后端 未结 1 394
野的像风
野的像风 2021-01-26 07:55

I try to use the endpoints follow this document: https://cloud.google.com/endpoints/docs/openapi/get-started-app-engine On the step \'Deploying the API backend\', when I try to

相关标签:
1条回答
  • 2021-01-26 08:03

    If you don't specify otherwise, the deployment tries to use the "default" network in your project. You may have deleted that network previously. You can either recreate the default network on your project or set a different network in your app.yaml file like so:

    network:
      instance_tag: TAG_NAME
      name: NETWORK_NAME
      subnetwork_name: SUBNETWORK_NAME
    

    You can find more details about it here.

    0 讨论(0)
提交回复
热议问题