I just started off on GCP+Serverless combination. Have a sample service deployed. However, after deploying when I invoke sls invoke -f first, I get the following error
(hobbizzenv) yash@yash-Inspiron-5558:~/yash/myservice$ sls invoke -f first
Error: Function http in region us-central1 in project projectid does not exist
at Gaxios._request (/home/yash/yash/myservice/node_modules/gaxios/src/gaxios.ts:109:15)
at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 8.10.0
Framework Version: 1.68.0
Plugin Version: 3.6.8
SDK Version: 2.3.0
Components Version: 2.30.2
Serverless.yml (the default one is also attached here).
serverless.txt
I am able to invoke the http end point from the web after providing relevant permissions also. However, sls invoke still does not work.
Hi,
I just started off on GCP+Serverless combination. Have a sample service deployed. However, after deploying when I invoke sls invoke -f first, I get the following error (hobbizzenv) yash@yash-Inspiron-5558:~/yash/myservice$ sls invoke -f first
Error --------------------------------------------------
Error: Function http in region us-central1 in project projectid does not exist at Gaxios._request (/home/yash/yash/myservice/node_modules/gaxios/src/gaxios.ts:109:15) at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Get Support -------------------------------------------- Docs: docs.serverless.com Bugs: github.com/serverless/serverless/issues Issues: forum.serverless.com
Your Environment Information --------------------------- Operating System: linux Node Version: 8.10.0 Framework Version: 1.68.0 Plugin Version: 3.6.8 SDK Version: 2.3.0 Components Version: 2.30.2
Serverless.yml (the default one is also attached here). serverless.txt
I am able to invoke the http end point from the web after providing relevant permissions also. However, sls invoke still does not work.