serverless-components/aws-lambda

Cannot specify a runtime

ryangrimm opened this issue · 1 comments

In the utils.js file there are a few places that use the input.runtime, with the exception of right here:

runtime: 'nodejs12.x',

Am I correct in assuming that if that line were changed to runtime: inputs.runtime || 'nodejs12.x' we could then specify any runtime we desired? That just seems too easy of a fix.

@eahefnawy This issue is still a thing. Lambda deployed via this serverless component can only be node 12.x and as stated by the OP it's an easy fix. Can you spare some time reviewing the PR i've opened ?