4 ms·
> What do you mean by retries If there is an error, the function will be retried: http://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html http://docs
by kehers 9y ago
> What do you mean by retries
If there is an error, the function will be retried: http://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html http://docs.aws.amazon.com/lambda/latest/dg/retries-on-error...
> Why would you upload node_modules
It is required to: http://docs.aws.amazon.com/lambda/latest/dg/nodejs-create-deployment-pkg.html http://docs.aws.amazon.com/lambda/latest/dg/nodejs-create-de...
- philliphaydon 9y agoThe node_modules one is rubbish IMO, I think their doco is absurd. You can just compile things down using webpack or such, this makes the package smaller and can be optimized for faster execution as well. The retry one is new to me, need to read more about it. Thanks for the info.
- livingparadox 9y agoDoes webpack work for node.js code? I was under the impression that webpack was specifically for front end code.
- owebmaster 9y agoNode.js code works for frontend code.
- eyko 9y agoI've always built my lambdas before upload and never upload my node_modules folder. It also means that when you get an error, debugging can be tricky.