This project uses Terraform deploy a Rust AWS Lambda function to us-east-1.
- Linux (also works from AWS/Google Cloud Shell)
- Terraform
- ~/.aws/credentials
-
Install Rust
curl https://sh.rustup.rs -sSf | sh
-
Install musl-gcc
- Linux
sudo apt install musl-tools
- Mac
brew install FiloSottile/musl-cross/musl-cross --with-x86_64 --with-aarch64
- Linux
-
deploy to AWS
deploy.sh dev aarch64
ordeploy.sh dev x86_64