aws-solutions / aws-control-tower-customizations

The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment using AWS best practices.
https://docs.aws.amazon.com/controltower/latest/userguide/cfct-overview.html
Apache License 2.0
354 stars 205 forks source link

Python 3.8 End-Of-Life #193

Closed lazize closed 1 month ago

lazize commented 2 months ago

Is your feature request related to a problem? Please describe. 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.

Describe the feature you'd like Upgrade Lambda functions to latest Python version.

Additional context See below all Lambda functions created by CfCT.

$ aws lambda list-functions --region sa-east-1 --output text --query "Functions[?Runtime=='python3.8'].[Funct
ionArn]" | sort
arn:aws:lambda:sa-east-1:xxxx20:function:CustomControlTowerDeploymentLambda
arn:aws:lambda:sa-east-1:xxxx20:function:CustomControlTowerStateMachineLambda
arn:aws:lambda:sa-east-1:xxxx20:function:cfct-CustomControlTowerLELambda-3Cq8lrhazVTx

CfCT version: (SO0089) - customizations-for-aws-control-tower Solution. Version: v2.7.0

minosmlee commented 1 month ago

Hello~ Is this issue in progress? Many customers are asking when it will be updated.

wiltangg commented 1 month ago

Hi all, newest patch v.2.7.1 (release notes) included changes to update the Lambda runtimes. To consume the updates, please perform an update to your CfCT deployment stack.

I am going to resolve this issue, please reopen if there are follow up questions.

lazize commented 1 month ago

Was it updated to use Python 3.11? If so, why? Why not use the latest current version that is 3.12?

VirginiaGraciano commented 1 month ago

Does this mean that customer must do the update itself? or will AWS send an update time as with previous versions like 3.6?