Closed tmcw closed 8 years ago
Do you use bin/bundle also if your code doesn't have dependencies?
If you don't have c++ addons that use node-pre-gyp, you can just .zip your code and upload to S3. If you do, streambot's bundle function will make sure to pull binaries that will run on the platform Lambda will use.
Once you've uploaded your bundled function to S3, how does Streambot discover it?
When you create a Lambda function via API call or CloudFormation, you must specify the location of the bundle on S3.
"The Streambot stack" section of the documentation is good, and I can follow "Your service stack" but I get lost in this paragraph:
Do you use
bin/bundle
also if your code doesn't have dependencies?Once you've uploaded your bundled function to S3, how does Streambot discover it?