Replies: 2 comments
-
We 100% need a way to get rid of Arc when the only thing we need is a lambda handler wrapper. |
Beta Was this translation helpful? Give feedback.
-
Is somebody looking at this? I do not have much experience with OSS contributing, but I would help, contribute to this. So I suppose the base idea would be to create new package Returned handler would be capable to recognize and process events from:
and return correctly shaped responses. Seems like a question of putting together solutions @CSFlorin posted (from SST, serverless-remix ....) . Is this something worth looking at? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to use Serverless Framework to deploy my Remix app to AWS. It turns out that using the Architect deployment target is the easiest way to achieve this as I found here because it generates the lambda handler we need. I think we should generalize this to just be an "AWS Lambda" deployment target instead of "Architect (AWS Lambda)" because this should be compatible with any IaC solution including Architect, Serverless Framework, CloudFormation, etc., all of which just need to reference the handler function path, without adding unnecessary dependencies like @architect/functions and the extra files like app.arc. Once you have the lambda handler and static assets, you can follow the docs in any IaC framework for referencing them.
There also seems to be concern about the Architect package enforcing HttpApiGateway and not allowing RestApiGateway, which is addressed in another package. Perhaps this could also decouple that choice.
Beta Was this translation helpful? Give feedback.
All reactions