Skip to main content
Ending support for Python 3.6 in AWS Lambda

Ending support for Python 3.6 in AWS Lambda

The aws announced that ending support for Python 3.6 in AWS Lambda service. This follows Python 3.6 End-Of-Life (EOL) reached on December 23, 2021 [1].

As described in the Lambda runtime support policy, There are two stages:

  • Starting July 18, 2022, Lambda will no longer apply security patches and other updates to the Python 3.6 runtime used by Lambda functions, and functions using Python 3.6 will no longer be eligible for technical support. In addition, you will no longer be able to create new Lambda functions using the Python 3.6 runtime.
  • Starting August 17, 2022, you will no longer be able to update existing functions using the Python 3.6 runtime.

The AWS team recommends that you need to upgrade your existing Python 3.6 functions to Python 3.9 before August 17, 2022.

The end of support does not impact function execution. Your functions will continue to run. However, they will be running on an unsupported runtime which is no longer maintained or patched by the AWS Lambda team.

The following command shows how to use the AWS CLI to list all functions in a specific region using Python 3.6.

aws lambda list-functions --function-version ALL --region us-east-1 --output text --query "Functions[?Runtime=='python3.6'].FunctionArn"

To find all such functions in your account, repeat this command for each region:

The AWS Support links.

Leave a Reply

Your email address will not be published. Required fields are marked *