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

InvalidLocationConstraint for S3 bucket creation #9

Closed
adamyala opened this issue Nov 4, 2016 · 2 comments
Closed

InvalidLocationConstraint for S3 bucket creation #9

adamyala opened this issue Nov 4, 2016 · 2 comments

Comments

@adamyala
Copy link

adamyala commented Nov 4, 2016

I ran ec2gaming start and got this error because I specified the region us-east-1 in my aws configure.

Getting lowest g2.2xlarge bid... 0.119400 in us-east-1c
Setting price for spot instance at .219400 (0.10 higher than lowest spot price)
Looking for the ec2gaming AMI... not found. Going into bootstrap mode... ami-017dbf6a
Looking for security groups... not found. Creating security group... sg-c5f63fb8
Looking for S3 bucket... not found. Creating...
An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
@DanielThomas
Copy link
Owner

Must be you need to omit the constraint for the legacy regions - will test and fix when I have a moment.

@erkserkserks
Copy link

I ran into this problem with my region us-east-1. It looks like this region is a special case: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html

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

3 participants