dlcs / protagonist

MIT License
7 stars 2 forks source link

S3-Ambient strategy for buckets in different regions #910

Open donaldgray opened 2 weeks ago

donaldgray commented 2 weeks ago

If an S3 ambient strategy is setup for a bucket, and that bucket resides in a region that differs from the region the service is running in it results in the error:

Amazon.S3.AmazonS3Exception: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint

AWS SDK GetObjectRequest doesn't accept region, it needs to be configured at client level. How do we handle cross-account bucket access?