llrt icon indicating copy to clipboard operation
llrt copied to clipboard

AWS SAM example sought

Open kaihendry opened this issue 2 years ago • 1 comments

Is there some AWS::Serverless-2016-10-31 template.yaml & aws-actions/setup-sam@v2 example please?

https://github.com/awslabs/llrt?tab=readme-ov-file#configure-lambda-functions-to-use-llrt isn't straightforward enough

kaihendry avatar Feb 13 '24 20:02 kaihendry

Hey there! I've pushed a PR with some simple instructions, but I also created a sample project here: https://github.com/Dgarc359/llrt-aws-sam-example

It doesn't go over using actions, although you should be able to work off of having the ability to bundle LLRT's binary along with your JS

edit: the key here is switching the runtime, the code uri, and providing a makefile to define your bundling

Dgarc359 avatar Feb 13 '24 22:02 Dgarc359

Fixed in https://github.com/awslabs/llrt/pull/158

richarddavison avatar Feb 15 '24 11:02 richarddavison