aws-lambda
aws-lambda copied to clipboard
Cannot specify a runtime
In the utils.js file there are a few places that use the input.runtime
, with the exception of right here:
https://github.com/serverless-components/aws-lambda/blob/d9620ee93723a59430603e4fba438082ec2d58b6/src/utils.js#L58
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 ?