Skip to content

tomohiro/apex-python-boilerplate

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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