[python] CDK Deploy fails when adding Table viewer due to 'nodejs12.x no longer supported'
Closed this issue · 1 comments
Describe the bug
This issue is related to the issue reported for typescript but for python. CDK Deploy fails on this step: https://cdkworkshop.com/30-python/50-table-viewer/500-deploy.html.
Expected Behavior
Expected CDK deploy to succeed
Current Behavior
Error is thrown when deploying via cdk deploy
The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions
Reproduction Steps
Perform the CDK steps for python up through https://cdkworkshop.com/30-python/50-table-viewer/500-deploy.html
Possible Solution
I was able to work around this issue by using the following in requirements.txt
aws-cdk-lib==2.60.0
constructs>=10.0.0,<11.0.0
cdk-dynamo-table-view==0.2.474
Additional Information/Context
No response
CDK CLI Version
2.83.1
Section
No response
Browser
No response
Language
No response
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.