aws-samples/aws-cdk-intro-workshop

given version of 'table viewer' library uses EOL node version(short issue description)

Closed this issue · 2 comments

Describe the bug

It was my first time completing the workshop I found that installing the given version of table viewer (0.2.0) (https://cdkworkshop.com/20-typescript/50-table-viewer/200-install.html) when I subsequently ran cdk deploy due to using a now unsupported version of node (12.x). Seems to be a simple fix for users, running npm update cdk-dynamo-table-viewer and the workshop still functions as expected.

Expected Behavior

it to work as per instructions given.

Current Behavior

ViewHitCounter/Rendered (ViewHitCounterRendered9C783E45) Resource handler returned message: "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

npm install cdk-dynamo-table-viewer@0.2.0

Possible Solution

npm install cdk-dynamo-table-viewer

Additional Information/Context

No response

CDK CLI Version

2.87.0 (build 9fca790)

Section

Install the library (https://cdkworkshop.com/20-typescript/50-table-viewer/200-install.html)

Browser

Edge

Language

Typescript (suspect all)

⚠️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.

Repeated a number of times on here, my bad.