Is there a way to manually trigger a lambda via SS...
# help
d
Is there a way to manually trigger a lambda via SST? Would be AMAZING if there was a way to do this in dev mode directly from VSCode, hotkey or button
t
this is coming 🙂
I swear!
o
So • We’d need a standard way of specifying the payload to send (e.g. mock SQS/APIG event or plain JSON) for each lambda in the stack • A way of specify which lambda to invoke either manually or via watch • Call lambda invoke via the AWS SDK
d
@Omi Chowdhury yup… but I’m also happy to just paste in the head of the lambda the dummy payload to start, if it meant getting the feature sooner. 😄
f
double swear! 🤞
o
@Dan Van Brunt Ah the “SST: Which payload should I use to invoke this lambda? Me: Go ask your mother” school of thought 😛
d
right now I’m doing that plus triggering on a cron 😛 so anything is better than that