The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions.

0

当我在日志通中创建管道时,CloudFormation 报了一个错误[CREATE_FAILED Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 3a249a68-cde6-4f62-bc5a-2afbe270b1f7)" (RequestToken: 36f49218-ed23-d6c3-0397-007c3ed9e165, HandlerErrorCode: InvalidRequest)] CloudFormation

然后我尝试更新了Lambda functions. functions for loghub

再一次创建时依然是失败的 我不确定Centralized Logging with OpenSearch 使用的是什么函数?

最后我尝试更新了CloudFormation 模板.但依然创建管道失败. 在此处输入图片描述

1 Answer
0

Support for nodejs14.x was removed several months ago, specifically new function creation was blocked on January 9th, 2024 and existing function updates were blocked on February 8th, 2024. You can find info about deprecated runtimes here.

To resolve your problem, please use newer runtime version like nodejs16.x or higher. You can find the list of supported runtimes here.

profile picture
EXPERT
Artem
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions

Relevant content