Skip to content

Commit 3db140e

Browse files
feat(custom-resource): upgrade to python runtime 3.13 for custom resources (#35342)
### Reason for this change - Current custom resource handlers are using Python 3.9 and 3.11 runtimes - Python 3.9 reaches EOL in October 2025 - Need to upgrade to Python 3.13 for better stability and continued support - Affects multiple custom resource handlers including aws-ecs/drain-hook-provider, aws-eks/kubectl-provider, and others ### Description of changes - Updated Python runtime from 3.9/3.11 to 3.13 in config.ts for generated bundle functions - Modified runtime settings in: - notifications-resource-handler.ts - instance-drain-hook.ts - Updated aws-eks-v2-alpha custom resource handler runtime - Updated integration tests and snapshots ### Validation - Deployed integration tests across multiple regions to verify functionality - Verified Lambda Python 3.13 availability across required regions ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 45e336c commit 3db140e

File tree

597 files changed

+132489
-9745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

597 files changed

+132489
-9745
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/aws-appconfig-configuration.assets.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/aws-appconfig-configuration.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@
936936
"Arn"
937937
]
938938
},
939-
"Runtime": "python3.11",
939+
"Runtime": "python3.13",
940940
"Timeout": 900
941941
},
942942
"DependsOn": [

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/integ.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/manifest.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/tree.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-cloudfront-origins/test/integ.s3-encrypted-bucket-origin-oac.js.snapshot/cloudfront-s3-encrypted-bucket-origin-oac.assets.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-cloudfront-origins/test/integ.s3-encrypted-bucket-origin-oac.js.snapshot/cloudfront-s3-encrypted-bucket-origin-oac.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
"Arn"
530530
]
531531
},
532-
"Runtime": "python3.11",
532+
"Runtime": "python3.13",
533533
"Timeout": 900
534534
},
535535
"DependsOn": [

packages/@aws-cdk-testing/framework-integ/test/aws-cloudfront-origins/test/integ.s3-encrypted-bucket-origin-oac.js.snapshot/integ.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-cloudfront-origins/test/integ.s3-encrypted-bucket-origin-oac.js.snapshot/manifest.json

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-cloudfront-origins/test/integ.s3-encrypted-bucket-origin-oac.js.snapshot/s3encryptedbucketoriginoacDefaultTestDeployAssertFD658B04.assets.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)