Home > Back-end >  (gcloud.app.deploy): Error Response: The App Engine appspot and App Engine flexible environment serv
(gcloud.app.deploy): Error Response: The App Engine appspot and App Engine flexible environment serv

Time:09-29

I'm trying to figure out the problem here. I'm getting this error, trying to deploy an Angular app on a Google Cloud. Error Deploy

I'm following the procedure here : enter image description here

And my app.yaml file :

runtime: custom
env: flex
service: default
threadsafe: true

env_variables:
  API_URL: "https://webapi-dev.appname.com"

I don't see why it's not regarding the error log and the role attributed.

CodePudding user response:

Looks like your App Engine service account has the Editor role, however is the project ID correct? Based on the screenshot, the project ID is yourprojectid should it be a different value?

CodePudding user response:

Ok, I found the issue. I didn't change yourprojectid in gcloud app deploy --image-url us.gcr.io/yourprojectid/angular-nginx-container

Hope it will help somebody though.

  • Related