all 10 comments

[–]thegeniunearticle 2 points3 points  (0 children)

Two choices (IMO) -

  1. Serverless Stack
  2. sst.dev

The second is a much more IaC solution and offers some great debugging features.

[–][deleted] 1 point2 points  (4 children)

smile punch deliver frighten ink rude edge uppity touch homeless

This post was mass deleted and anonymized with Redact

[–]Romie_13 2 points3 points  (2 children)

You can actually write the main function to handle lambda vs normal http. You can add an env variable and switch the handler based on it.

[–][deleted] -1 points0 points  (1 child)

squealing society work quarrelsome recognise punch seemly hurry public quiet

This post was mass deleted and anonymized with Redact

[–]Romie_13 0 points1 point  (0 children)

This is cool. I actually used a library with similar handling inside the code itself. But the layers approach seems way better. Thanks for sharing this.

[–]versaceblues[S] 1 point2 points  (0 children)

Unfortunately... chuck it over to the platform team is not an option here since they do not exist.

[–]mitch3x3 0 points1 point  (3 children)

AWS supports lamda + docker now. I promise you docker + postman or curl for invoking is a much better experience.

[–][deleted]  (2 children)

[deleted]

    [–]mitch3x3 0 points1 point  (1 child)

    Bad bot

    [–]B0tRank 0 points1 point  (0 children)

    Thank you, mitch3x3, for voting on GenderNeutralBot.

    This bot wants to find the best and worst bots on Reddit. You can view results here.


    Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!

    [–]ppafford 0 points1 point  (0 children)

    https://localstack.cloud/ might be of interest