AWS Lambda Fast API starter application
Fast API starter application compatible with API Gateway and Lambda Function.
How to deploy it?
Terraform AWS Lambda API is a reusable module that can be used to
deploy this Fast Application and It will provision:
- The AWS Lambda Function resources
- The AWS Lambda Function CI/CD resources
- The AWS API Gateway HTTP API resources
Structure
This Fast Application is using Mangum to adapt AWS API Gateway events to
ASGI requests.
When creating the Lambda Function, make sure that the handler is set to the Adapter Object which is in our caseapp.runtime.lambda.main.handler
.
Environment variable
- FIREBASE_APP_API_KEY: Firebase web application API Key.
- AWS_API_GW_MAPPING_KEY: The mapping key used in AWS API Gateway to map the API with custom domain.
- RUNTIME: should