-
Notifications
You must be signed in to change notification settings - Fork 221
"Creating a serverless application using the AWS CDK" is using outdated AWS Lambda runtime and old version of AWS JS SDK #450
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
Comments
This fix is broken and leads to crashing lambdas, returning internal server error.|
If you update an entry-level guide, please test it before. |
Thanks for noticing this. As noted, the code itself does work, but requires using one of the documented options:
In CDK, there is support for ECMAScript modules and this could be worth mentioning also in this page since people likely run into the issue when developing. See also aws/aws-cdk#23333 @lizsnyder is looking into the possibility of updating the first version of the code. See comment at awsdocs/aws-doc-sdk-examples#4663 |
Thanks for reacting that quick. My intention was to make this part of the guide (as the content of the lambdas are not the focus) as easy-to-use as possible. Thanks for the attached links, they are very helpful to further understand the problem space. |
"Creating a serverless application using the AWS CDK" is using outdated AWS Lambda runtime and old version of AWS JS SDK
Proposal:
The text was updated successfully, but these errors were encountered: