-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(custom-resources): (custom resource python 3.11 runtime deployment fails for certain new regions) #31245
(custom-resources): (custom resource python 3.11 runtime deployment fails for certain new regions) #31245
Comments
As an alternative, please try to set lambda runtime Custom Resources with The following will set the AWS-vended custom resource in the app to https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.custom_resources-readme.html |
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
…ws#31166) Closes aws#31245 Support latest python runtime that's available everywhere Update custom resource handler runtime to python 3.11 There were initially 40+ failed integration tests due to this change, all these tests are re-ran by deploying and verifying (no `dry-run` flag used). Now all existing tests are passing. - [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*
…ws#31166) ### Issue # (if applicable) Closes aws#31245 ### Reason for this change Support latest python runtime that's available everywhere ### Description of changes Update custom resource handler runtime to python 3.11 ### Description of how you validated changes There were initially 40+ failed integration tests due to this change, all these tests are re-ran by deploying and verifying (no `dry-run` flag used). Now all existing tests are passing. ### 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*
…31166) ### Issue # (if applicable) Closes #31245 ### Reason for this change Support latest python runtime that's available everywhere ### Description of changes Update custom resource handler runtime to python 3.11 ### Description of how you validated changes There were initially 40+ failed integration tests due to this change, all these tests are re-ran by deploying and verifying (no `dry-run` flag used). Now all existing tests are passing. ### 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*
Describe the bug
The following error happens when deploying a stack to new isolated reegions that uses custom resources with python runtime. The default runtime we use for these custom resources are python 3.9 and after investigation, the default boto3 version has incorrect configuration with runtime 3.9.
However, customers don't have an easy way to change the runtime version for custom resources. We should update all python runtime custom resources to runtime 3.11 as this is the latest version that have full global support in all regions.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Able to deploy successfully to all regions
Current Behavior
Unable to deploy to new isolated regions due to the errors above.
Reproduction Steps
Any stack that uses python runtime custom resource like S3 BucketDeploymentSingletonFunction
Possible Solution
Upgrade for all these custom resources.
Additional Information/Context
No response
CDK CLI Version
all
Framework Version
No response
Node.js Version
20
OS
MacOs
Language
TypeScript, Python, .NET, Java, Go
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: