[Action Required] AWS Lambda end of support for Python 3.8 Amazon Alexa Smart Home Skill

The semi-regular deprecation of Python versions has come around which means some people may need to update their AWS Lambdas to support a higher version of Python than the outgoing version 3.8. I’ve just upgraded all mine to 3.12 so should be good for the rest of the decade :smile:

This affects users who have implemented their own Alexa integration using Amazon Alexa Smart Home Skill - Home Assistant

Email below;


We are contacting you as we have identified that your AWS Account currently has one or more AWS Lambda functions using the Python 3.8 runtime.

We are ending support for Python 3.8 in Lambda on October 14, 2024. This follows Python 3.8 End-Of-Life (EOL) which is scheduled for October, 2024 [1].

As described in the Lambda runtime support policy [2], end of support for language runtimes in Lambda happens in several stages. Starting on October 14, 2024, Lambda will no longer apply security patches and other updates to the Python 3.8 runtime used by Lambda functions, and functions using Python 3.8 will no longer be eligible for technical support. Also, Python 3.8 will no longer be available in the AWS Console, although you can still create and update functions that use Python 3.8 via AWS CloudFormation, the AWS CLI, AWS SAM, or other tools. Starting February 28, 2025, you will no longer be able to create new Lambda functions using the Python 3.8 runtime. Starting March 31, 2025, you will no longer be able to update existing functions using the Python 3.8 runtime.

We recommend that you upgrade your existing Python 3.8 functions to the latest available Python runtime in Lambda before October 14, 2024.

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.

This notification is generated for functions using the Python 3.8 runtime for the $LATEST function version. The following command shows how to use the AWS CLI [3] to list all functions in a specific region using Python 3.8, including published function versions. To find all such functions in your account, repeat this command for each region:

aws lambda list-functions --region us-west-2 --output text --query “Functions[?Runtime==‘python3.8’].FunctionArn”

A list of your affected Lambda functions is available in the ‘Affected resources’ tab of your AWS Health Dashboard.

From 180 days before deprecation, you can also use Trusted Advisor to identify all functions using the Python 3.8 runtime, including published function versions [4].

If you have any concerns or require further assistance, please contact AWS Support [5].

[1] Status of Python versions
[2] Lambda runtimes - AWS Lambda
[3] Command Line Interface - AWS CLI - AWS
[4] Security - AWS Support
[5] https://aws.amazon.com/support

Amazon Web Services

Amazon Web Services, Inc. is a subsidiary of Amazon.com, Inc. Amazon.com is a registered trademark of Amazon.com, Inc. This message was produced and distributed by Amazon Web Services Inc., 410 Terry Ave. North, Seattle, WA 98109-5210

1 Like

I just got the same. For those that set this up forever ago and dont really mess with AWS much, here are some simple update instructions from my perspective:

  1. Login to your AWS console.
  2. Under the 3 horizontal lines (Hamburger button) on the left, click on ALL SERVICES then click on LAMBDA which is in the COMPUTE section.
  3. Validate you have the correct region you are running your service in the upper right part of this page, then click on the Hamburger button on left and select FUNCTIONS.
  4. You should now see your function you created here and click on its hyperlink to get to your function.
  5. Once on the function screen, scroll down until you get to the “Runtime settings” section, then click Edit.
  6. Choose the Python 3.12 runtime and click “Save”.
  7. Done.

Thank you for the step-by-step instructions! You really helped me out!

1 Like

Thank you… much appreciated.

1 Like

Thank you!!!

1 Like