我在将带有 Cloud Build 和 VPC 连接器的 App Engine 应用程序部署到我的 MongodDB Atlas 数据库时遇到问题。
当我使用 gcloud 部署它时,它与以下命令完美配合:gcloud beta app deploy
但我希望通过 Cloud Build 实现 CI(持续集成)。在云构建期间出现以下错误:
Step #3: #============================================================#
Step #3: #= Uploading 2 files to Google Cloud Storage =#
Step #3: #============================================================#
Step #3: File upload done.
Step #3: Updating service [nodeapi]...
Step #3: .......................................................................................................................................................................................failed.
Step #3: ERROR: (gcloud.beta.app.deploy) Error Response: [7] Error attaching GCE network to app.
Step #3:
Step #3: Details: [
Step #3: [
Step #3: {
Step #3: …Run Code Online (Sandbox Code Playgroud) google-app-engine continuous-integration vpc google-cloud-platform google-cloud-build
vpc ×1