aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

chore(ecs): update instance-drain-hook lambda runtime to python 3.13 (closes #34634)

Open its-felix opened this issue 6 months ago • 1 comments

Issue # (if applicable)

Closes #34634.

Reason for this change

The old Lambda Runtime Python 3.9 is being deprecated

Description of changes

  • Update Lambda Runtime to Python 3.13 (newest currently supported)
    • Python 3.13 is supported in All Regions (https://aws.amazon.com/about-aws/whats-new/2024/11/aws-lambda-support-python-313)
    • The function code is very basic. All syntax and standard library functions used by the code continue to work in 3.13
  • Fixed a minor logging bug in the lambda code
  • Added Runtime-Property assertion to unit tests
  • Updated Runtime-Property assertion in integ tests

Describe any new or updated permissions being added

None

Description of how you validated changes

(cd packages/aws-cdk-lib && yarn test aws-ecs)

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

its-felix avatar Jun 05 '25 16:06 its-felix

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 029c12508662548364dbb51d3b8a944abcfc1477
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

aws-cdk-automation avatar Jul 28 '25 08:07 aws-cdk-automation

Closed in favour of #35103

Abogical avatar Jul 29 '25 14:07 Abogical

Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.

github-actions[bot] avatar Jul 29 '25 14:07 github-actions[bot]