https://github.com/juliocesarscheidt/lambda-aws-api
https://github.com/juliocesarscheidt/lambda-aws-api
api-gateway aws aws-apigateway aws-lambda dynamodb flask kinesis lambda python terraform
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/juliocesarscheidt/lambda-aws-api
- Owner: juliocesarscheidt
- Created: 2021-03-26T06:18:52.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T02:42:34.000Z (over 4 years ago)
- Last Synced: 2025-01-24T10:09:02.997Z (over 1 year ago)
- Topics: api-gateway, aws, aws-apigateway, aws-lambda, dynamodb, flask, kinesis, lambda, python, terraform
- Language: HCL
- Homepage:
- Size: 267 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Lambda Function with Terraform
This project intends to deploy as IaC a Lambda Function on AWS,
using Python3 with Flask for the API, an API Gateway with Proxy to handle multiple endpoints and invoke the Lambda, with some authentication.
Also it will persist the data on DynamoDB which is reached internally on AWS network through a VPC endpoint and using the IAM role permissions from Lambda Function itself.
In front of the API Gateway there is a CloudFront Distribution.
The architecture is the following:

Locally it is possible to run the API and use a local DynamoDB as well, with docker and docker-compose by running:
```bash
docker-compose up -d
```
There are more instructions about the deployment here [Terraform](./terraform/README.md)
There are more details about the API here [API](./api/README.md)