aws-lambda-edge-basic-auth-terraform icon indicating copy to clipboard operation
aws-lambda-edge-basic-auth-terraform copied to clipboard

update runtime to nodejs18.x

Open lorenmh opened this issue 1 year ago • 1 comments

nodejs12.x runtime is no longer supported:

│ Error: error creating Lambda Function (1): InvalidParameterValueException: The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions.

lorenmh avatar Jun 10 '23 19:06 lorenmh

note: using nodejs18.x requires hashicorp/aws version 4.41.0 and above

EOL for nodejs16.x appears to be later this year: https://nodejs.org/en/blog/announcements/nodejs16-eol , so using nodejs18.x instead 🤷

lorenmh avatar Jun 10 '23 19:06 lorenmh