https://pulumi.com logo
#aws
Title
# aws
c

chilly-receptionist-94436

01/26/2021, 3:09 PM
Anyone who can verify if aws step functions is supported now? Thanks!
b

brave-planet-10645

01/26/2021, 3:20 PM
They are. There's an example here
c

chilly-receptionist-94436

01/26/2021, 3:30 PM
Thanks, but any example using python?
b

brave-planet-10645

01/26/2021, 3:31 PM
There's a whole blog post on that very subject https://www.pulumi.com/blog/intro-to-step-functions/
👍 1
c

chilly-receptionist-94436

01/26/2021, 5:50 PM
To get the lambda function arn, it uses 'apply' function, but when there are multiple lambda functions, do I need to use layered 'apply' for all functions? I tried several different ways, but they don't seem to be working.
b

brave-planet-10645

01/26/2021, 5:53 PM
So you probably want to use
pulumi.all
instead. The python example doesn't use that, but you should get a good idea from the typescript example
The docs show how to use
all
in python
c

chilly-receptionist-94436

01/26/2021, 6:55 PM
For those who are curious about this,
Copy code
Output.all(hello_world_fn.arn,nice_fn.arn).apply(lambda args: ...)
https://www.pulumi.com/blog/intro-to-step-functions/