aws-cdk-lib(step_functions): Creating an S3ObjectsItemReader with a dynamic path but fixed bucket name does not show up correctly in the StepFunction console. #32167
Labels
aws-cdk-lib
Related to the aws-cdk-lib package
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
I am creating a DistributedMap step like so
This generates a working step where the item payload looks like this.
However, the Step Function console page shows the step as incomplete, as the Step function console only recognizes either both json path values or fixed values
I tried to change it to use bucket_name_path instead, however that failed to add the required permissions into the Step function role for the S3 Bucket.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
The step function console UI to allow a mixed of fixed & dynamic definition
Current Behavior
the UI does not show the configuration correctly, and doing any reworking to allow it to show correctly (e.g. adding a Pass above the DistributedMap that sets a bucket var to the fixed value and the path to the input param) does not auto-add the needed permissions to the generated step function execution role
Reproduction Steps
Documented above.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.166.0
Framework Version
No response
Node.js Version
18.16.1
OS
macOS 12.7.6
Language
Python
Language Version
Python 3.11
Other information
No response
The text was updated successfully, but these errors were encountered: