Skip to content

stepfunctions: DistributedMap in Parallel doesn't create DistributedMapPolicy  #29266

@sannies

Description

@sannies

Describe the bug

When a DistributedMap is a top level item in a state machine it, 'synth ' will generate a DistributedMap Policy
image

When you run the DistributedMap in a Parallel State it will not generate that policy and the step function will not be able to start the distributed step.
image

Expected Behavior

Whether in Parallel or not the Policy to run the DistributedMap should be generated.

Current Behavior

https://github.com/sannies/legendary-octo-computing-machine

Reproduction Steps

See simple python project to reproduce

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.130.0

Framework Version

No response

Node.js Version

21.1.0

OS

Mac

Language

Python

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-stepfunctionsRelated to AWS StepFunctionsbugThis issue is a bug.closed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.effort/mediumMedium work item – several days of effortp2response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions