Skip to content
🐍 meets λ - Apex Python Boilerplate for AWS Lambda function
Ruby Makefile Python HCL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
functions
infrastructure
spec
.envrc.example
.flake8
.gitignore
.python-version
.rspec
.ruby-version
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
project.json
requirements.txt

README.md

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.

You can’t perform that action at this time.