Support for NodeJs 8 runtime when deploying to Google Cloud Functions

google

#1

Is there any way I can set the NodeJs environment to NodeJs 8 when deploying to Google Cloud Functions with “serverless deploy”?
Here is what I’ve tried

 provider:
   runtime: nodejs8.10

or

 provider:
   runtime: nodejs8

or

 provider:
   runtime: nodejs8.11.1

But none of these work.


#2

I am also looking for solution how to do it from sls cli.


#3

This is not yet supported. There is a PR that potentially enable this, but its not merged yet: