Skip to content

fix: Extract region from s3-<region>.amazonaws.com#787

Merged
deekoder merged 1 commit into
minio:masterfrom
harshavardhana:fix-region
Aug 17, 2017
Merged

fix: Extract region from s3-<region>.amazonaws.com#787
deekoder merged 1 commit into
minio:masterfrom
harshavardhana:fix-region

Conversation

@harshavardhana
Copy link
Copy Markdown
Member

@harshavardhana harshavardhana commented Aug 15, 2017

This PR fixes a behavior problem on our end when URLs
like s3-<region> are allowed we should use the region
name automatically otherwise calls like GetBucketLocation()
would fail by defaulting to us-east-1.

Fixes #785

@deekoder deekoder requested review from poornas and vadmeste August 15, 2017 01:11
This PR fixes a behavior problem on our end when URLs
like s3-<region> are allowed we should use the region
name automatically otherwise calls like GetBucketLocation()
would fail by defaulting to `us-east-1`.

Fixes minio#785
@harshavardhana
Copy link
Copy Markdown
Member Author

@poornas @vadmeste any reviews?

Copy link
Copy Markdown
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM & tested

Copy link
Copy Markdown
Contributor

@poornas poornas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested locally

@deekoder deekoder merged commit 8cf0454 into minio:master Aug 17, 2017
@harshavardhana harshavardhana deleted the fix-region branch August 17, 2017 03:12
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

Successfully merging this pull request may close these issues.

Using IAM instance profile credentials to authenticate to S3

4 participants