Skip to content

Searchable lambda function using deprecated Python version 3.9 #3321

@marmotgary

Description

@marmotgary

How did you install the Amplify CLI?

No response

If applicable, what version of Node.js are you using?

No response

Amplify CLI Version

14.0.0

What operating system are you using?

Ubuntu

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

no

Describe the bug

Amplify CLI uses Python 3.9 for Searchable Lambdas (DdbToEsFn).

Message from AWS:
We are ending support for Python 3.9 in Lambda on December 15, 2025. This follows Python 3.9 End-Of-Life (EOL) reached on October 30, 2025 [1]. 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.

As described in the Lambda runtime support policy [2], end of support for language runtimes in Lambda happens in several stages.

  • Starting on December 15, 2025, Lambda will no longer apply security patches and other updates to the Python 3.9 runtime used by Lambda functions, and functions using Python 3.9 will no longer be eligible for technical support. Also, Python 3.9 will no longer be available in the AWS Console, although you can still create and update functions using Python 3.9 via AWS CloudFormation, the AWS CLI, AWS Serverless Application Model (SAM), or other tools.

  • Starting January 15, 2026, you will no longer be able to create new Lambda functions using the Python 3.9 runtime.

  • Starting February 15, 2026, you will no longer be able to update existing functions using the Python 3.9 runtime.

Expected behavior

Use newer version.

Reproduction steps

Make a table @searchable and check the python version in the Lambda console for the function DdbToEsFn-[...]
GraphQL

Project Identifier

No response

Log output

Details
# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions