Replies: 1 comment
-
node14 should be supported Try deploy a lambda function like this. It should work. new lambda.Function(this, 'Func', {
runtime: lambda.Runtime.NODEJS_14_X,
code: lambda.Code.fromInline('foo'),
handler: 'index.handler',
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to move away from Node JS 12 but one of my Lambdas is throwing:
Error: Inline source not allowed for nodejs14.x
when I try to upgrade it to run on Node 14.Is there a configuration change I can make to avoid this error or am I locked out of Node 14 for Lambdas with inline code?
I can't seem to find any documentation on this.
Beta Was this translation helpful? Give feedback.
All reactions