cargo lambda build --release -o zip --arm64 --bins
Within /infrastructure
:
terraform apply
cargo lambda new <name>
- enter
y
to create an HTTP function - Select
Amazon Api Gateway HTTP Api
- Add crate to workspace members in
/Cargo.toml
- Add
resource_function
module call in/infrastructure/main.tf
- re-build and re-deploy