Skip to content
Evergreen Evergreen
Documentation

AWS Lambda .NET Core 3.1 runtime is end-of-life

End of life as of 2023-04-03. Replacement: dotnet8. Source: AWS Lambda runtimes.

Check a version:

evergreen check pkg:generic/aws-lambda-runtime/dotnetcore3.1

The AWS Lambda runtimes table lists dotnetcore3.1 under Deprecated runtimes with deprecation date 2023-04-03. AWS no longer applies security or other updates to that managed runtime.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of life
Severity high
Ecosystem serverless
Component pkg:generic/aws-lambda-runtime/dotnetcore3.1
Affected versions vers:semver/*
Date from the source 2023-04-03
Replacement dotnet8
Evidence last seen 2026-10-21
Reviewed 2026-10-21 by arminazimi
Review due 2027-01-19 (90 days after the last review)
Rule ID serverless.aws-lambda.dotnetcore3.1

Sources

Migration

Constraints

  • Keep provider.runtime, Globals.Function.Runtime, per-function Runtime, and Terraform aws_lambda_function.runtime on one AWS Lambda runtime identifier that AWS still supports.
  • Raising the managed runtime can require .NET TFMs and package updates; confirm the project targets the replacement before deploying.

Steps

  1. Raise the AWS Lambda runtime. Change the reported Runtime (or provider.runtime / terraform runtime) from dotnetcore3.1 to a supported AWS Lambda .NET identifier (see the replacement).
  2. Align other runtime surfaces. Update every other SAM/CloudFormation Globals or function Runtime, serverless.yml provider or function runtime, Terraform aws_lambda_function.runtime, and CI deploy config that still pins dotnetcore3.1.

Verification

  • sam validate || serverless print || terraform validate: Validate the updated SAM, Serverless Framework, or Terraform declaration before deploy.

Detected by

The serverless detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/serverless.json, rule serverless.aws-lambda.dotnetcore3.1, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated