Problem scenario
You run a command like this:
aws s3api create-bucket –bucket coolnameforbucket
But you get this error:
“An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.”
How do you create a bucket with the aws s3api command?
Possible Solution #1
Run a command such as this,
…