deployless
v0.3.1
Published
A small utility to deploy AWS lambda code via S3.
Downloads
7
Readme
Usage
deployless
accepts two "verbs":
deployless create
deployless update
create
The create
verb requires a few arguments:
bucket
, e.g.bucket=deployless-bucket
: The S3 bucket to save the code.role
, e.g.role=999999999
: The AMI role for the lambda functionname
, e.g.name=handleDeploy
: The function name.
update
The update
verb requires a few arguments:
bucket
, e.g.bucket=deployless-bucket
: The S3 bucket to save the code.name
, e.g.name=handleDeploy
: The function name.
Optional arguments
handler
, e.g. handler=deploy
: The name of the exports.handler
if it's different than the function name.
If handler
is not specified than the name
will be used.
file
, e.g. file=file.js
: The function file.
key
, e.g. key=deploy.zip
: The name of the file in S3.
Additional Files
Specify additional support files that need to be zipped up by adding them as extra arguments: deployless create bucket=test file=file.js ./support.js ./module.js