We have a very simple use case--we want to share code with all of our lambdas and we don't want to use webpack.
We can't put relative paths in our package.json files in the lambda folders because when you do sam build twice, it DELETES the shared code and I have no idea why.
Answer requirements:
- Be able to debug locally
- Be able to run unit tests on business logic (without having to be ran in an AWS sandbox)
- Be able to run tests in
sam local start-api - Be able to debug the code in the container via
sam local invoke sam buildworkssam deployworks- Runs in AWS Lambda in the cloud