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

Do not set LocationConstraint when creating a S3 bucket in us-east-1 #182

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

hmizuma
Copy link
Contributor

@hmizuma hmizuma commented Oct 30, 2020

Issue #, if available:

Description of changes:

Setting LocationConstraint to us-east-1 when creating a S3 bucket causes InvalidLocationConstraint.
This region seems to be handled differently and this param should not be passed in. The location will default to us-east-1.

Reference: boto/boto3#125

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@gyuho gyuho left a comment

Choose a reason for hiding this comment

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

lgtm good catch!

@gyuho gyuho merged commit 2fee818 into aws:master Oct 30, 2020
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.

2 participants