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

Lambda runtime no longer supported for creating or updating #10

Open
philipws opened this issue Jun 8, 2023 · 2 comments
Open

Lambda runtime no longer supported for creating or updating #10

philipws opened this issue Jun 8, 2023 · 2 comments

Comments

@philipws
Copy link

philipws commented Jun 8, 2023

Issue:

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.

Full Error:

CREATE_FAILED      LambdaFunction                                                                     AWS::Lambda::Function      Thu Jun 08 2023 08:53:20 GMT+0000 (Coordinated Universal Time) Resource handler returned message: "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. (Service: Lambda, Status Code: 400, Request ID: 3f67c4fd-2a0d-4dec-83ce-50108668c80d)" (RequestToken: 559bc6ca-92a7-300f-7825-7195acd152c0, HandlerErrorCode: InvalidRequest)
@PercDev23
Copy link

I may have run into this today attempting to deploy.

Log

The following resources failed to deploy:
Resource Name: LambdaFunction (AWS::Lambda::Function)
Event Type: create
Reason: Resource handler returned message: "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. (Service: Lambda, Status Code: 400, Request ID: *****, HandlerErrorCode: InvalidRequest)

@markmacc
Copy link

Same error here, due to the depreciation of nodejs12.x earlier this year.

The following resources failed to deploy:
      Resource Name: LambdaFunction (AWS::Lambda::Function)
      Event Type: create
      Reason: Resource handler returned message: "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. (Service: Lambda, Status Code: 400, Request ID: XXX)" (RequestToken: XXX, HandlerErrorCode: InvalidRequest)

Will this project be updated to a newer Lambda runtime to address this issue?

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

3 participants