aws-samples / aws-samples/aws-cdk-build-package-publish-dotnet-lambda-function
Deprecated node js runtime
- Dominant language
- C#
- Stars
- 13
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
While running cdk deploy, getting an error - 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: 0c42d1e3-136b-4228-ac8e-ea06
fd84573a)" (RequestToken: f3a3d7ef-1187-9046-1e24-2b916cf1bcd8, HandlerErrorCode: InvalidRequest)
**To Reproduce**
Steps to reproduce the behavior:
Run the cdk deploy command from infra project
**Expected behavior**
The lambda functions and API GW should be provisioned.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS] Windows,Linux
**Additional context**
Upgrading the cdk lib version in infra.proj to 2.128.0 solved the issue.
Contributor guide
Assessment
This issue has not been assessed yet.