aws / aws-sam-cli

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
https://aws.amazon.com/serverless/sam/
Apache License 2.0
6.5k stars 1.17k forks source link

Add Rust support to aws cli --use-container builds #7261

Open thiezn opened 1 month ago

thiezn commented 1 month ago

Hi,

It seems the build in container doesn't currently contain the required rust tooling for building AWS Lambda functions based on Rust.

This was mentioned by @moelasmar in another issue here.

For build in container, we do not have an image that contains the rust setup, that is why you get the exception ValueError: Path resolution for runtime: provided of binary: cargo was not successful ... we should fix this issue.

It would be great to add support for the rust tooling if possible.

Kind regards, thiezn

jysheng123 commented 1 month ago

Thanks for bringing this up. Will mark it as a feature request and bring it up with the team