Skip to content
Example code to setup a Python REST API with AWS Lambda, AWS API Gateway and Terraform
HCL Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
infra
src
.gitignore
LICENSE
Makefile
README.md
config.mk.example

README.md

Serverless Python API scaffolding with AWS + Terraform

Example code used as showcase in this tutorial.

TL;DL

All you need to deploy a simple Python REST API on AWS Lambda and API Gateway using Terraform.

clone https://github.com/shaftoe/api-gateway-lambda-example.git
cd api-gateway-lambda-example.git
# edit config.mk.example and save it as config.mk
make deploy

Requirements

  • an AWS account with administrator rights
  • installed Terraform v.0.11.7 (or higher) with its AWS provider v1.27.0 (or higher)
  • installed aws-cli v1.15.53 (or higher)
You can’t perform that action at this time.