awslabs / idf-modules

Industry Data Framework (IDF) IAC modules repository
Apache License 2.0
24 stars 14 forks source link

[CHORE] Upgrade Lambdas from deprecated Node.js 16 #280

Open clokep opened 1 month ago

clokep commented 1 month ago

modules/storage/buckets (and maybe other modules) generate Lambda functions using Node.js 16, which is EOL and deprecated. See deprecated runtimes:

For modules/storage/buckets we need to upgrade CDK from 2.82.0 to >= 2.87.0 to pick up aws/aws-cdk#26212. Looking quickly it seems there are a few other modules with older CDK versions as well.

dgraeber commented 1 month ago

We will need to look for and update all CDK versions (in requirements.txt and deployspec.yaml) to verify.