AWS Lambda: how to share code between functions in a monorepo
A while back, a client asked me “how can I share business logic between services in a Node.js monorepo?”. The TL;DR of it is: Encapsulate the shared business logic into modules, and put them in a separate folder. In the Lambda handler functions, reference the shared modules using relative paths. Use webpack to resolve and …
AWS Lambda: how to share code between functions in a monorepo Read More »