[aws-stepfunctions-task] misconfigured parition in the resourceArn of service integrations #4597
Labels
@aws-cdk/aws-stepfunctions
Related to AWS StepFunctions
bug
This issue is a bug.
in-progress
This issue is being actively worked on.
needs-triage
This issue or PR still needs to be triaged.
When users create a Task state to call other AWS services, the partition in the "resourceArn" is hard-coded as "aws". This behavior causes trouble in Chinese regions where the partition is "aws-cn", rather than "aws".
With CDK, users can create their state machine correctly with "cdk deploy" but they can't start an execution properly with misconfigured ARN.
Reproduction Steps
See https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-stepfunctions-tasks/test/publish-to-topic.test.ts#L19
Error Log
When users click on "Start execution" button on AWS Step Functions' console, they will get
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: