Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

186
Views
Cannot create Amazon S3 Bucket in specified region

On my macOS Sierra:

$ aws s3api create-bucket --bucket testbucket --region us-west-1
{
    "Location": "/testbucket"
}

Then...

$ aws s3api get-bucket-location --bucket testbucket
{
    "LocationConstraint": null
}

The weird thing is if I were to check my console, it would show my bucket created but in US East(N. Virginia region). Is the us-west-1 region not available or something?

If it makes a difference, from $ aws configure I can see that my default region name is us-west-1

Default region name [us-west-1]:
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

From the documentation: "Regions outside of us-east-1 require the appropriate LocationConstraint to be specified in order to create the bucket in the desired region"

Try:

aws s3api create-bucket --region us-west-1 --bucket textbucket --create-bucket-configuration LocationConstraint=us-west-1
about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!