Does anyone have an example of using step function...
# guide
k
Does anyone have an example of using step functions with sst? Really appreciate it if someone can share their experience.
o
We’re talking about SFN in this thread in #help, I’ll post a link in there
k
Thanks Omi, are you sure you linked the correct thread where you mentioned me?
When I click it I land to this here
o
my bad just updated the link
k
Kk thanks
m
Hey, that's my post! It's a bit old, but I found it useful to learn step functions. Happy to answer any questions you may have here or there.
Doing Step Functions with SST is basically the same except you use their constructs and get the awesome dashboard. Makes things very nice.
k
Hey man thanks for writing this 🙏 Yeah looks super straight forward, how I imagine this working is basically do the same thing as in the article the only difference would be that I would create the functions using the sst construct instead of the cdk function, this way I can get the local development and all the good stuff
m
Right, I did that for a non-public project a couple of weeks ago. It's very nice.
k
Sweet, I will try it out this week
Hey @Matt Morgan Trying to do this now and realized that the sst function does not expose the underlying CDK function, how did you manage to get that and use it when creating the task ?
Oh wait 😂 it extends lambda.Function
Nope does not work either 😛
Ok fixed it… it was a version mismatch of the packages
m
cdk 2 fixes that, but not quite supported by SST.
k
And it works… thanks for the article Matt
m
Are you running the SST dashboard? It's pretty amazing devex with step functions.
k
What is the sst dashboard?
m
I was looking for the docs, but can't seem to find it. Just try
sst start --console
Not sure why they aren't promoting this feature.
k
Ahh yeah I did not know it supported step functions
m
Any lambda execution.
k
Oh awesome