I didn't realized until recently after reading som...
# sst
s
I didn't realized until recently after reading some of the comments here, that you can actually call localhost from within your SST Lambdas on development! I think that's real game changer for dev exp. We have a python api server running on fargate in prod and it's easier on dev to run it locally with docker together with local postgres, but with SST I can call and connect to them from lambdas. Another usecase that I just build was having to test incoming webhooks, but with api not being serverless, instead of using something like ngrok to tunnel remote calls or deploying to check. I used a SST lambda that basically proxy remote call to my local api server and it just works. Just wanted to pointed that out here, incase someone find it useful. Love the community here and amazing work from the SST team.
t
You can also connect to a local database instance if you need to
s
Oh wow. Totally in sync. Haha. FYI It was one of your comments in a thread here that I learn about it @thdxr . So thank you. It's totally a feature that I think it's worth mentioning.
j
That’s awesome to hear @Sione!