AWS Node 8.10 runtime for Lambdas! - Migration guide

For the people who are using Lambda@Edge,
It doesn’t work Lambda@Edge function with the latest stable Serverless.

The error message is below.

An error occurred: CloudFrontDistribution - The function has an invalid runtime for functions that are triggered by a CloudFront event: nodejs8.10 Expecting: nodejs6.10 Function: arn:aws:lambda:us-east-1:966390130392:function:~~~~:13 (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidLambdaFunctionAssociation; Request ID: 0d529603-37e3-11e8-bcb4-3d379f0b0c9a).

1 Like