AWS no longer includes "aws-sdk" in Lambda nodejs18 runtime any more, for my project to run on nodejs18 and still using "aws-sdk" (v2) I need to include it in the dependencies. Current version 2.7.0 has broken my build as "aws-sdk" has been excluded from the lambda layer by default nodejs "layerOptimization.cleanupPatterns" list.
Can we remove "aws-sdk" from the default list and leave it to be handled by the packager? I can create a PR if you want me to.
AWS no longer includes "aws-sdk" in Lambda nodejs18 runtime any more, for my project to run on nodejs18 and still using "aws-sdk" (v2) I need to include it in the dependencies. Current version 2.7.0 has broken my build as "aws-sdk" has been excluded from the lambda layer by default nodejs "layerOptimization.cleanupPatterns" list.
Can we remove "aws-sdk" from the default list and leave it to be handled by the packager? I can create a PR if you want me to.