An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid when using the command
aws s3api create-bucket --bucket my-bucket
--create-bucket-configuration LocationConstraint=region
If your region is us-east-1 then you simply run the command without the --location constraint because by default bucket is created in the us-east-1 region
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With