-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create Lambda functions with Node.js 8.10 runtime #11514
Comments
Closed via #11517. |
Im getting this error - but not sure how to fix .... |
Im having issues with this with aws-amplify |
Same here. Changed my I am wondering if there is another lambda that now requires the |
I’ll look into soon
…On Thursday, January 9, 2020, Brian Dinga ***@***.***> wrote:
Same here. Changed my cloudformation-template.yml to Runtime: nodejs12.x
under Type: 'AWS::Lambda::Function'.
I am wondering if there is another lambda that now requires the Runtime?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11514>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJTDR3VQGL6ETCPB4HFYH4TQ445YTANCNFSM4KD36OHA>
.
|
@TheReactGuys , Hope you find this. amplify-cli/issues/3149 Mines working now. Weird I had v4.11 of the amplify cli... was able to create a new instance. Maybe just an issue with existing instances. Anyways anyone googling hope you find this. Just make sure the version is |
It is because node 8.10 is not going to be supported anymore.
You can update your runtime later version of your nodejs. Also you may need to update your aws provider |
In template.yaml file change Runtime8.10 to Runtime: nodejs12.x and it should work. |
I had same issue, I hope this help. |
Just to add some additional helpers for others -- I updated the Amplify CLI(npm install -g @aws-amplify/cli) and then reran 'amplify init' with the new CLI. I had to hardcode updates in the yml files where 'nodejs8.10' was previously and automatically coming back in during 'amplify push'. Overwriting 'nodejs8.0' with 'node12.x' then rerunning 'amplify push' gives me a clean backend deploy. Clean 'amplify push' for me now, thanks to all above. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
While working on acceptance tests for #11368 I got this error:
As announced here and documented here, lambdas with Node.js 8.10 runtime cannot be created after January 6, 2020 (or updated after February 3, 2020).
We have many acceptance tests with
runtime = "nodejs8.10"
that will need to be updated.Also, after 2/3/2020 we should remove
lambda.RuntimeNodejs810
(and other deprecated runtimes) as a valid value for theaws_lambda_function.runtime
attribute.The text was updated successfully, but these errors were encountered: