Difference between revisions of "Aws s3 mb"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
  aws s3 mb s3://mybucket
 
  aws s3 mb s3://mybucket
 
  make_bucket failed: s3://mybucket An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
 
  make_bucket failed: s3://mybucket An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
 +
 
  Solution: include --region configuration parameter
 
  Solution: include --region configuration parameter
 
  aws s3 mb s3://mybucket [[--region]] [[us-west-2]]
 
  aws s3 mb s3://mybucket [[--region]] [[us-west-2]]

Revision as of 08:33, 20 September 2021


aws s3 mb s3://mybucket


aws s3 mb s3://mybucket
make_bucket failed: s3://mybucket An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
Solution: include --region configuration parameter
aws s3 mb s3://mybucket --region us-west-2

See also

Advertising: