aws-solutions-constructs icon indicating copy to clipboard operation
aws-solutions-constructs copied to clipboard

aws-cognito-apigateway-lambda: leverage aws-lambda-nodejs

Open mdesousa opened this issue 1 year ago • 2 comments

hi, these constructs are very helpful!

however, i am running into issues with my project because i cannot find an easy way to bundle my nodejs monorepo project. the lambda function that gets deployed is missing all the dependencies. it would be great if you could offer an option to leverage aws-cdk-lib/aws-lambda-nodejs, which leverages esbuild and handles all the bundling. thanks.

mdesousa avatar Jun 20 '23 23:06 mdesousa

Thanks - glad these are helping! We'll take a look at your request.

biffgaut avatar Jun 21 '23 12:06 biffgaut

hi wondering if there's been any progress on this? i ended up forking the project and replacing the lambda in a couple of files (lambda-helper.ts and cognitoToApiGatewayToLambda.ts)... was pretty straight forward and worked without issues.

it would be nice to have it in the package, thanks

mdesousa avatar Nov 20 '23 17:11 mdesousa