Open fitzoh opened 3 years ago
This is most likely something that we would do in https://github.com/pulumi/pulumi-awsx or another higher-level library package. Our goal is to keep pulumi-aws as primarily a raw mapping of the core AWS resources.
Note that 3rd party component packages supporting this use case are very welcomed - and can be contributed to the Pulumi Registry even ahead of a first-party API.
(As far as I can tell) Pulumi step functions require that you pass in a blob of YAML containing the state machine definition.
It would be nice if Pulumi provided a native way to fluently define the state machine internals like you can with the CDK. See the example here where each step of the state machine is an object that can be manipulated manually.
Python users might be able to use Pulumi with the Step Functions Data Science Python SDK to accomplish something like this today.