I think we should improve error logging, I spend hours looking at these errors below and its completely useless.
Debug/verbose mode shows no useful information.
Finally I look at deployment manager and see the issue (from looking at the resulting template), a wrong region.
Instead of using GCP region name, I was writing AWS region name.
But this doesn't come anywhere in the logs and I completely missed it.
Error --------------------------------------------------
Error: Not Found
at Gaxios._request (/builds/trueid-intrend/trueid-serverless-cicd/services/data-analysis/node_modules/googleapis-common/node_modules/gaxios/src/gaxios.ts:140:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at JWT.requestAsync (/builds/trueid-intrend/trueid-serverless-cicd/services/data-analysis/node_modules/googleapis-common/node_modules/google-auth-library/build/src/auth/oauth2client.js:343:18)
I think we should improve error logging, I spend hours looking at these errors below and its completely useless.
Debug/verbose mode shows no useful information.
Finally I look at deployment manager and see the issue (from looking at the resulting template), a wrong region.
Instead of using GCP region name, I was writing AWS region name.
But this doesn't come anywhere in the logs and I completely missed it.
Suggestions
Actionable error messages, include more data about the error
and/or
Link to the failed deployment job in Deployment Manager