pulumi / pulumi-awsx

AWS infrastructure best practices in component form!
https://www.pulumi.com/docs/guides/crosswalk/aws/
Apache License 2.0
226 stars 104 forks source link

Dynamic Step Function configuration #1047

Open fitzoh opened 3 years ago

fitzoh commented 3 years ago

(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.

lukehoban commented 1 year 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.