Yet another deploy tool for AWS Lambda in the virtualenv environment.
Project description
Yet another deploy tool for AWS Lambda in the virtualenv.
Requirements
Python2.7
virtualenv
Installation
pip install lamvery
Setup
At first,
lamvery init
And put your lamvery.yml like this.
name: sample_lambda_function
runtime: python2.7
role: arn:aws:iam::000000000000:role/lambda_basic_execution
handler: lambda_function.lambda_handler
description: This is sample lambda function.
timeout: 10
memory_size: 128
publish: true
Usage
Archive your code and libraries to <your-function-name>.zip
lamvery archive
Archive and deploy your code and libraries
lamvery deploy
Options
-f or --file
Configuration
name
The name of your function.
runtime
name
The name of your function.
role
The Amazon Resource Name (ARN) of the IAM role for your function.
handler
The function within your code that Lambda calls to begin execution.
description
The description of your function.
timeout
The function execution time(seconds) at which Lambda should terminate the function.
memory_size
The amount of memory for your function environment.
publish
This boolean parameter can be used to request AWS Lambda to create/update the Lambda function and publish a version as an atomic operation.
Development
Source hosted at GitHub
Report issues/questions/feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:
Fork the repo
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Added some feature')
Push to the branch (git push origin my-new-feature)
Create new Pull Request
License
Apache 2.0 (see LICENSE)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.