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
thdxr
11/03/2021, 9:12 PM
this is coming 🙂
thdxr
11/03/2021, 9:12 PM
I swear!
o
Omi Chowdhury
11/03/2021, 9:13 PM
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
Dan Van Brunt
11/03/2021, 9:14 PM
@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
Frank
11/03/2021, 9:18 PM
double swear! 🤞
o
Omi Chowdhury
11/03/2021, 9:28 PM
@Dan Van Brunt Ah the “SST: Which payload should I use to invoke this lambda? Me: Go ask your mother” school of thought 😛
d
Dan Van Brunt
11/03/2021, 9:40 PM
right now I’m doing that plus triggering on a cron 😛 so anything is better than that