curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
n install 20
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Go to https://www.cargo-lambda.info/guide/getting-started.html and for local development you can run
cargo lambda watch
in root directory
Clone this repo and install dev dependencies
npm install
Now you can use sls in command line, so you can deploy lambda with command
npx sls deploy
For me sls framework has more abilities than https://www.cargo-lambda.info/commands/deploy.html