-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(aws-rds): addRotationSingleUser() creates a lambda on python 3.7 which is EOL #26866
Comments
Worth noting that ideally there would be a version of this Serverless Application which runs on Python 3.11...but I appreciate that's probably not within the control of the CDK team. If anyone has any leverage they'd like to apply on the team which maintains those Serverless Applications, that would be awesome 😁 |
Yes I noticed you have reported to the upstream aws-samples/aws-secrets-manager-rotation-lambdas#119 Thank you. For now, we probably can create a PR to bump the version to 1.1.367. Are you interested to submit a PR for that? |
I could potentially submit a PR for it! I'll see if I can find some time tomorrow 👍 |
…hon 3.7 which is EOL (#26884) Update `SecretRotationApplication` versions to `1.1.367` - the latest available in the Serverless Application Repository. This will bump the deployed lambdas from Python 3.7 (which is EOL) to Python 3.9 (which is still within security support). Closes #26866. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Describe the bug
Using the
addRotationSingleUser
call against an RDS database cluster creates a lambda via the Serverless Application Repository. At present the code for this application points to version1.1.225
of the application, which uses Python 3.7, which is now EOL.From checking the AWS console, a newer version is available (1.1.367) which uses Python 3.9, which is still within security support.
Expected Behavior
Rotation lambda uses a supported python runtime.
Current Behavior
Rotation lambda uses an unsupported python runtime.
Reproduction Steps
Deploy a rotation lambda using
addRotationSingleUser
(we're using Postgres but I'm pretty sure this will affect all RDS platforms)Possible Solution
Update the version used against the Serverless Application Repository to 1.1.367
Additional Information/Context
No response
CDK CLI Version
2.83.0
Framework Version
No response
Node.js Version
18
OS
Mac OS
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: