Skip to content

Python meets Lambda - Apex Python Boilerplate for AWS Lambda function

License

Notifications You must be signed in to change notification settings

tomohiro/apex-python-boilerplate

Repository files navigation

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.

About

Python meets Lambda - Apex Python Boilerplate for AWS Lambda function

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published