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

[FR] Incompatible region specific endpoint error in ap-southeast-4 #35

Open
tonyswu opened this issue Oct 29, 2024 · 0 comments
Open

[FR] Incompatible region specific endpoint error in ap-southeast-4 #35

tonyswu opened this issue Oct 29, 2024 · 0 comments
Assignees

Comments

@tonyswu
Copy link

tonyswu commented Oct 29, 2024

Is your feature request related to a problem? Please describe.
When attempting to run ecs-files-composer in ap-southeast-4 we observe the following error:

[ERROR], An error occurred (IllegalLocationConstraintException) when calling the GetObject operation: The ap-southeast-4 location constraint is incompatible for the region specific endpoint this request was sent to.

Describe the solution you'd like
We are currently working around this by supplying environment variable AWS_ENDPOINT_URL_S3=https://s3.ap-southeast-4.amazonaws.com which forces boto3 to use the endpoint specified. However I think a more integrated approach would be more preferred, i.e. a way to specify an S3 endpoint from CLI (perhaps --aws-endpoint-url-s3?), and a way to specify said S3 point in the S3 config file.

Describe alternatives you've considered
We are currently working around this by supplying environment variable AWS_ENDPOINT_URL_S3=https://s3.ap-southeast-4.amazonaws.com which forces boto3 to use the endpoint specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants