diff --git a/src/e3/aws/troposphere/awslambda/__init__.py b/src/e3/aws/troposphere/awslambda/__init__.py index e95157d..01daa4a 100644 --- a/src/e3/aws/troposphere/awslambda/__init__.py +++ b/src/e3/aws/troposphere/awslambda/__init__.py @@ -363,7 +363,12 @@ class PyFunction(Function): f"python{version}": { "implementation": "cp", # Amazon Linux 2023 glibc version is 2.34 - "platforms": ("manylinux_2_34_x86_64",), + "platforms": ( + "manylinux_2_17_x86_64", + "manylinux_2_24_x86_64", + "manylinux_2_28_x86_64", + "manylinux_2_34_x86_64", + ), } for version in AMAZON_LINUX_2023_RUNTIMES } diff --git a/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py b/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py index 423fd11..96ba07e 100644 --- a/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py +++ b/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py @@ -500,8 +500,24 @@ def test_pyfunction_with_dlconfig(stack: Stack) -> None: ("3.9", ["manylinux_2_17_x86_64", "manylinux_2_24_x86_64"]), ("3.10", ["manylinux_2_17_x86_64", "manylinux_2_24_x86_64"]), ("3.11", ["manylinux_2_17_x86_64", "manylinux_2_24_x86_64"]), - ("3.12", ["manylinux_2_34_x86_64"]), - ("3.13", ["manylinux_2_34_x86_64"]), + ( + "3.12", + [ + "manylinux_2_17_x86_64", + "manylinux_2_24_x86_64", + "manylinux_2_28_x86_64", + "manylinux_2_34_x86_64", + ], + ), + ( + "3.13", + [ + "manylinux_2_17_x86_64", + "manylinux_2_24_x86_64", + "manylinux_2_28_x86_64", + "manylinux_2_34_x86_64", + ], + ), ], ) def test_pyfunction_with_requirements(