Skip to content
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

Update Lambda runtime parameter of NodeJS #1

Closed
kaka-ruto opened this issue Jul 13, 2020 · 1 comment
Closed

Update Lambda runtime parameter of NodeJS #1

kaka-ruto opened this issue Jul 13, 2020 · 1 comment

Comments

@kaka-ruto
Copy link

kaka-ruto commented Jul 13, 2020

The resource on the lambda edge module(terraform/modules/lambda-edge/main.tf) uses the nodejs8.10 runtime parameter.

When executed, it throws the following error

error creating Lambda function: InvalidParameterValueException: 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

Updating it to nodejs12.x works.

@draganavr
Copy link
Contributor

Thanks @kaka-ruto.

Runtime version updated to nodejs12.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants