Deployment error for aws-node-rest-api-with-dynamodb. Nodejs6.10 is no longer supported

Open Beginner friendly
#404 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, node.js
Domain
cloud

Research direction

Open the aws-node-rest-api-with-dynamodb example linked in the issue and locate its nodejs6.10 runtime setting. Update that setting to nodejs8.10, then deploy the example to confirm the AWS Lambda runtime error is resolved.

Written by the indexing model from the issue text.

Description

See error below. Can be fixed by replacing with nodejs8.10. Wanted to share this here as it may be a problem in other examples too?

Serverless Error ---------------------------------------

An error occurred: DeleteLambdaFunction - The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs8.10) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: c50f1596-7fe1-11e9-a68f-57ddca923218).

https://github.com/serverless/examples/tree/master/aws-node-rest-api-with-dynamodb

Dominant language
JavaScript
Stars
11.5k
Forks
4.4k
Avg merge
2h 55m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from serverless/examples

All issues in serverless/examples

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.