Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partitions(aws-cn, us-gov) support #120

Closed
zxkane opened this issue Feb 23, 2021 · 6 comments
Closed

partitions(aws-cn, us-gov) support #120

zxkane opened this issue Feb 23, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@zxkane
Copy link

zxkane commented Feb 23, 2021

All resources of task are hard code partition aws. The partition info should be fetched from boto3 client.

@zxkane
Copy link
Author

zxkane commented Feb 24, 2021

We are using below workaround for reference,

from stepfunctions.steps.fields import Field

attrs=getattr(step, ‘fields’)
attrs[Field.Resource.value]=arn:aws-cn:states:::glue:startJobRun.syncsetattr(step, ‘fields’, attrs)

@wong-a
Copy link
Contributor

wong-a commented Feb 24, 2021

Noted. Thanks for raising this!

Setting Field.Resource.value for Steps such as this one need to be updated.

@hlmiao
Copy link

hlmiao commented May 14, 2021

How test the fixed version, same issue as previous experienced in cn-north-1.
{
"error": "States.Runtime",
"cause": "An error occurred while executing the state 'Extract, Transform, Load' (entered at the event id #2). The resource belongs to a different partition from the running execution."
}

@wong-a
Copy link
Contributor

wong-a commented May 14, 2021

@hlmiao #131 hasn't been merged or released yet. If you want to test it out, you can pull the source from the PR's branch.

@hlmiao
Copy link

hlmiao commented May 14, 2021

Got it.

@wong-a
Copy link
Contributor

wong-a commented May 28, 2021

@wong-a wong-a closed this as completed May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants