DSGT-DLP / Deep-Learning-Playground

Web Application where people new to Deep Learning can input a dataset and toy around with basic Pytorch modules without writing any code
MIT License
26 stars 8 forks source link

Set runtime of lambdas associated with API Gateway Endpoints to Node js v18 #1025

Closed karkir0003 closed 1 year ago

karkir0003 commented 1 year ago

Problem AWS has been sending emails to DLP saying that the node runtime of the API Gateway Lambda endpoints were running on Node 14 and that we are recommended to use Node js v18 as the runtime.

Solution For the Api construct in SST (under AppStack.ts, set the runtime prop for the lambda (under default: {functions: {...}}) to be "nodejs18.x". View these links from SST for more detail:

Testing Methodology

Other considerations