apex-python-boilerplate

Python meets Lambda - Apex Python Boilerplate for AWS Lambda function

MIT License

Stars
2

Apex Python Boilerplate for AWS Lambda function

Requirements

Getting Started

Initialize an Apex project

Install dependencies:

$ pip install -r requirements.txt
$ bundle install --path vendor/bundle

Create IAM role to execute lambda functions:

$ apex infra plan    # Dry-run
$ apex infra apply   # Apply changes

Development AWS Lambda functions

Create a function

Move to the example function directory:

$ cd functions/example

Install dependencies:

$ make deps

Testing

$ make test

Deploy

$ apex deploy example --chdir ../../ --log-level debug

Project testing

Run all tests:

$ bundle exec rake spec

LICENSE

© 2017 Tomohiro TAIRA.

This project is licensed under the MIT license. See LICENSE for details.