I've had a really difficult time getting anything to deploy properly with Google Cloud Platform using App Engine.
app.yaml
runtime: nodejs8
#env: flex
beta_settings:
cloud_sql_instances: my-project:us-central1:my-db
I am using the following cmd to deploy:
gcloud app deploy --project=my-project
I would prefer to use the standard environment versus the flexible environment, so I have commented out env:flex. Upon deploying, I will get an error that nodejs is not a valid runtime, so I changed it to nodejs8 from just nodejs. I can successfully deploy to a flexible environment with:
env: flex
runtime: nodejs
But I cannot deploy using:
runtime: nodejs8
Error is:
Beginning deployment of service [default]...
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 0 files to Google Cloud Storage ═╣
╚════════════════════════════════════════════════════════════╝
File upload done.
Updating service [default]...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] Error importing container
images.