Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mdesousa opened this issue Jun 20, 2023 · 2 comments
Open

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

mdesousa opened this issue Jun 20, 2023 · 2 comments
Labels
feature-request A feature should be added or improved needs-triage The issue or PR still needs to be triaged

Comments

@mdesousa
Copy link

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 mdesousa added feature-request A feature should be added or improved needs-triage The issue or PR still needs to be triaged labels Jun 20, 2023
@biffgaut
Copy link
Contributor

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

@mdesousa
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved needs-triage The issue or PR still needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants