https://serverless-stack.com/ logo
#help
Title
# help
g

Gabriel Araújo

10/27/2021, 8:47 PM
Hi! There is any guide on how to implement step functions using sst? Thanks
a

Adrián Mouly

10/27/2021, 8:47 PM
I want that too.
I think is nothing special for now.
Maybe just CDK?
t

thdxr

10/27/2021, 8:48 PM
yeah the cdk docs are decent for this, I was able to implement sfns back when I was a bigger dummy about AWS
f

Frank

10/27/2021, 8:49 PM
Just replace
lambda.Function
with
sst.Function
everywhere 🙂
a

Adrián Mouly

10/27/2021, 8:50 PM
I think @thdxr said he has some ideas on how to make this better 👀 .
t

thdxr

10/27/2021, 8:51 PM
I said I had no ideas except one tiny one
haha
Their chaining API is what I would do, maybe can make it a bit less verbose with first class support for sst.Function but no big ideas other than that
f

Frank

10/28/2021, 2:08 AM
@Gabriel Araújo any luck with step functions? Let us know if u need anything.
g

Gabriel Araújo

10/28/2021, 12:43 PM
Hey Frank! Thanks for the help. Yep it worked as you said using the CDK example.. and replacing with the sst.Function.