aws-samples / aws-lambda-edge-workshops

This repository contains instructions and blueprints for Lambda@Edge workshops
Apache License 2.0
111 stars 50 forks source link

Nodejs8.10 is no longer supported for creating or updating AWS Lambda functions #10

Open muellerc opened 4 years ago

muellerc commented 4 years ago

By executing the CloudFormation template, I receive the following error: The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 46eb1284-c80e-4eeb-8a0e-6f39e4e455d3; Proxy: null)

muellerc commented 4 years ago

The "launch Stack" link in https://github.com/aws-samples/aws-lambda-edge-workshops/blob/master/Workshop1/Lab0_LaunchTheStack/README.md points to https://s3.amazonaws.com/ws-lambda-at-edge/bootstrap/cfn-template.json. This file still uses nodejs8.10 as definition.

cmilanf commented 3 years ago

As @muellerc points, the Lab0 file at https://s3.amazonaws.com/ws-lambda-at-edge/bootstrap/cfn-template.json stills uses a nodejs8.10 definition:

"BootstrapFunction": {
      "Type": "AWS::Lambda::Function",
      "Properties": {
        "Handler": "index.handler",
        "Runtime": "nodejs8.10",
        "Timeout": 60,