Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

AWS Lambda Function example

This example shows how to develop a REST API with Axum and Diesel that connects to a Postgres database.

Build & Deploy

  1. Install cargo-lambda
  2. Build the function with cargo lambda build --release
  3. Deploy the function to AWS Lambda with cargo lambda deploy --iam-role YOUR_ROLE

Build for ARM 64

Build the function with cargo lambda build --release --arm64