.NetCore 3.1 Runtime deprecation policy for AWS Lambda project

0

Hi All,

May I know still got any method to use the. Netcore 3.1 runtime and update the lambda function, i have tried change the update runtime option to manual and use the dotnet: core3.1 ARN but still failed, it still shows me: -

Resource handler returned message: "The runtime parameter of dotnetcore3.1 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (dotnet6) while creating or updating functions. (Service: Lambda, Status Code: 400)

HQ_NG
已提問 1 年前檢視次數 1070 次
1 個回答
1

Hi,

AWS Lambda support for .NET Core 3.1 entered "Phase 1" of the deprecation policy on April 3rd, 2023.

Lambda no longer applies security patches or other updates to the runtime. You can no longer create functions that use the runtime, but you can continue to update existing functions. This includes updating the runtime, and rolling back to the previous runtime. Note that functions that use a deprecated runtime are no longer eligible for technical support.

Lambda is currently rolling out "Phase 2" since it's been 30 days since phase 1.

Phase 2 - you can no longer create or update functions that use the runtime. To update a function, you need to migrate it to a supported runtime. After you migrate the function to a supported runtime, you cannot rollback the function to the previous runtime. Phase 2 starts at least 30 days after the start of Phase 1.

See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html, though the documentation update for phase 2 is still in-progress as well.

To continue using a managed .NET Lambda runtime, I recommend upgrading to .NET 6.

profile pictureAWS
專家
已回答 1 年前
profile picture
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南