Difference between revisions of "Aws s3 mb"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
* https://docs.aws.amazon.com/cli/latest/reference/s3/mb.html
+
https://docs.aws.amazon.com/cli/latest/reference/s3/mb.html
 
*<code>aws s3 mb s3://mybucket</code>
 
*<code>aws s3 mb s3://mybucket</code>
  
Line 8: Line 8:
 
  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]]
 +
 +
== Related terms ==
 +
* <code>[[aws s3api create-bucket]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 18:22, 21 October 2021

https://docs.aws.amazon.com/cli/latest/reference/s3/mb.html

  • 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

Related terms

See also

Advertising: