hanmoos
hanmoos11mo ago

Lambda WITHOUT API Gateway (Lambda Function URL)

Anyone know how to make this work?
4 Replies
hanmoos
hanmoos11mo ago
Any input?
Nick
Nick11mo ago
This is really an AWS question, and not so easy to answer without a lot of research We can’t really support strange AWS usages here
hanmoos
hanmoos11mo ago
Well it takes the same parameters as ApigatewayV2 and it actually makes a lot of sense for trpc because you can have a really simple deployment (just 1 lambda) and handle your whole api through that monolithic lambda thanks to trpc... so maybe worth taking a look at?
Nick
Nick11mo ago
Yes I mean API Gateway is the normal way to front your lambda and expose it to the internet. I do this at work and it brings a lot of extra functionality Exposing a plain lambda to the internet is something you will either figure out with research, or you should stick to battle tested patterns It would be the same whether you’re using trpc or not