r/awslambda • u/versaceblues • Dec 04 '22
Default Lambda development experience seems atrocious or am I missing something
So im currently working on setting up lambdas using sam and this seems like an absolutely awful development experience.
I like to frequently run my code as im developing it.
However it seems I need to run a sam build + sam invoke every-time I make a change. Normally im used to tools like hot-reloading upon making a change.
Sam build is taking 10-20s to compile all my dependencies. Even on a small test project.
Is this the recommend development workflow for lambdas... or it just for sanity checking builds at the end of a cycle. What do you recommend for a more lightweight dev experience.
3
u/thegeniunearticle Dec 04 '22
Two choices (IMO) -
Serverless Stack
sst.dev
The second is a much more IaC solution and offers some great debugging features.
1
u/mitch3x3 Dec 04 '22
AWS supports lamda + docker now. I promise you docker + postman or curl for invoking is a much better experience.
0
Dec 04 '22
[deleted]
1
u/mitch3x3 Dec 04 '22
Bad bot
1
u/B0tRank Dec 04 '22
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!
1
2
u/[deleted] Dec 04 '22 edited May 12 '24
smile punch deliver frighten ink rude edge uppity touch homeless
This post was mass deleted and anonymized with Redact