This example shows a Serverless boilerplate in Rust.
user
Jonee Ryan Ty
Make sure serverless
is installed. See installation guide.
You will also need to set up your AWS account credentials using environment variables or a configuration file. Please see the this guide for more information.
npm install
in this directory to download the modules from package.json
.
$ cargo build --release
Hackish way to deploy
sls deploy
which would give an error about missing file path in the package path. cloudformation-template-create-stack.json cloudformation-template-update-stack.json serverless-state.json
$ curl https://***.execute-api.us-east-1.amazonaws.com/dev/test/test
{"message":"Serverless Rust Hello"}
For more information on the Serverless AWS plugin, please see the project repository: https://serverless.com/framework/docs/providers/AWS/guide/credentials/.
Latest commit b2f54ec on Sep 24, 2017