aws-stepfunction: Failed to create correct IAM role for step function #33580
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p1
Describe the bug
When trying the code here:
I am just building a step function to submit a batch job with dynamic parameter values by using payload during submit time.
However, when deploying the resource, the code above is trying to create one IAM role with following resources:
$.inferenceJob.jobQueueArn cannot be retrieved so it will lead to an error. How to handle this case?
Regression Issue
Last Known Working CDK Version
2.1000.2
Expected Behavior
I assume the role will be deployed correctly. Even if it did not add correct rules, at least it deployed the rules successfully.
Current Behavior
It will throw an error saying:
Reproduction Steps
Copy the code above and deploy and it will see the error.
Possible Solution
Anyway we can ban the step function cdk to create the role itself? We can use our own rules this way.
Additional Information/Context
No response
CDK CLI Version
2.1000.2
Framework Version
No response
Node.js Version
21
OS
macos
Language
Python
Language Version
3.9
Other information
No response
The text was updated successfully, but these errors were encountered: