I am trying to deploy the standard example NodeJs App using a service account.
- App Engine Admin
- Storage Object Admin
When deploying with
gcloud app deploy --verbosity=debug
I get the error:
Updating service [default]...⠛DEBUG: Operation [apps/MYAPP/operations/01c6d8bc-9247-4d1b-924f-c6ec12514fcf] complete. Result: {
"metadata": {
"target": "apps/MYAPP/services/default/versions/20180726t071855",
"method": "google.appengine.v1.Versions.CreateVersion",
"insertTime": "2018-07-26T05:18:59.150Z",
"endTime": "2018-07-26T05:19:02.609Z",
},
"done": true,
"name": "apps/MYAPP/operations/01c6d8bc-9247-4d1b-924f-c6ec12514fcf",
"error": {
"message": "An internal error occurred.",
"code": 13
}
}
Updating service [default]...failed.
DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred.
If I add the role Project Owner it is properly working and deploying a new version. So it does not seem to be a problem with the code itself.
So it seems to be a permission problem.
Does anybody have any ideas? I hate to do CI/CD with accounts with more permission than they need.