Deploying Rust to Lambda

  1. I know about the "use GO runtime trick".

2., I am following Rust Runtime for AWS Lambda | AWS Open Source Blog

  1. I have musl-gcc wrapper installed. I can execute
cargo build --release --target x86_64-unknown-linux-musl
zip -j rust.zip ./target/x86_64-unknown-linux-musl/release/bootstrap

perfectly fine.

  1. Now, for some reason, the tutorial stops using the CLI and starts using the web GUI for uploading the code.

  2. Does anyone know how to do this step via CLI ? I want to be able to type "make deploy" instead of going through the GUI every time I need to upload an Lambda function.

Thanks!

There's info on using the AWS CLI for publishing, as well as another option for publishing, on the aws-lambda-rust-runtime README. :+1:

1 Like

@matthewkmayer : Got it working. Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.