AWS Lambda
The runtime parameter of python3.9 is no longer supported for creating or updating AWS Lambda functions
AWS Lambda is blocking create/update operations on a deprecated Python runtime.
Per the AWS Lambda runtime deprecation table, python3.9 was deprecated on 2025-12-15; AWS blocks creating new python3.9 functions on 2027-02-01 and updating existing ones on 2027-03-03 (AWS delayed these beyond the usual 30/60 days). Earlier runtimes such as python3.7 are already blocked for create. The error fires when a deploy targets a runtime past its block date.
Related deadline: Lambda Python 3.9 EOL — 2027-02-01.
The free EOLkits scanner runs in your browser (nothing uploaded) and flags this and related breakages across your IaC and dependency files.
Primary source: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html