Skip to content

Commit

Permalink
Update NodeJS from 8 to 10.x
Browse files Browse the repository at this point in the history
NodeJS 8 is being deprecated in AWS Lambda

Message from AWS:

The Node community has decided to end support for Node.js 8.x on December 31, 2019. From this date forward, Node.js 8.x will stop receiving bug fixes, security updates, and/or performance improvements. To ensure that your new and existing functions run on a supported and secure runtime, language runtimes that have reached their EOL are deprecated in AWS.
i
For Node.js 8.x, there will be 2 stages to the runtime deprecation process:

1. Disable Function Create – Beginning January 6, 2020, customers will no longer be able to create functions using Node.js 8.10
2. Disable Function Update – Beginning February 3, 2020, customers will no longer be able to update functions using Node.js 8.10
  • Loading branch information
alberts-s authored and Alberts Saulitis committed Oct 24, 2019
1 parent 90c7c2b commit 9578a3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/node:8.10
- image: circleci/node:10.16.3
working_directory: ~/repo

steps:
Expand Down
2 changes: 1 addition & 1 deletion cloudformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Resources:
Properties:
Handler: src/index.handler
Role: !GetAtt FunctionRole.Arn
Runtime: nodejs8.10
Runtime: nodejs10.x
MemorySize: 256
Timeout: 15 # Cross-region metrics lookup requires at least 10s
Code:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Forward AWS Notification Messages to Slack",
"main": "src/index.js",
"engines": {
"node": ">=8.10.0"
"node": ">=10.16.3"
},
"scripts": {
"test": "jest test",
Expand Down

0 comments on commit 9578a3f

Please sign in to comment.