Skip to content

Template for quickly creating a Rust web app running on AWS Lambda

Notifications You must be signed in to change notification settings

3wille/rust-on-lambda-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-on-lambda-boilerplate

Requirements

Build

cargo lambda build --release -o zip --arm64 --bins

Deploy

Within /infrastructure:

terraform apply

Add new HTTP function

  1. cargo lambda new <name>
  2. enter y to create an HTTP function
  3. Select Amazon Api Gateway HTTP Api
  4. Add crate to workspace members in /Cargo.toml
  5. Add resource_function module call in /infrastructure/main.tf
  6. re-build and re-deploy

About

Template for quickly creating a Rust web app running on AWS Lambda

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published