lambda-push
v0.2.5
Published
A helpful tool for pushing updates to AWS Lambda Functions with a single command.
Downloads
5
Readme
lambda-push
A helpful tool for pushing updates to AWS Lambda Functions with a single command.
0. Install 7zip, and ensure it is in your PATH
You can test to ensure 7zip is in your PATH
by running the following from the command line:
7z
1. Install from NPM
npm install lambda-push -g
2. Create a file called lambda-push.json
in your project's root directory
MyFunctionDirectory
->package.json
->index.js
->node_modules/
->lambda-push.json
3. Populate lambda-push.json
with your function name, and the files/directories to be included
{
"function-name": "oryql_api",
"files": ["index.js", "package.json", "node_modules/"]
}
4. Run lambda-push
from your project's root directory
lambda-push
5. Done!
Enjoy