aws-s3api: add --region to create-bucket example (#8825)
* aws-s3api: add command for creating bucket outside us-east-1 * aws-s3api: add command for creating bucket in specific region * aws-s3api: change region to variable
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
> Create and delete Amazon S3 buckets and edit bucket properties.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/index.html>.
|
||||
|
||||
- Create a bucket:
|
||||
- Create bucket in a specific region:
|
||||
|
||||
`aws s3api create-bucket --bucket {{bucket_name}}`
|
||||
`aws s3api create-bucket --bucket {{bucket_name}} --region {{region}} --create-bucket-configuration LocationConstraint={{region}}`
|
||||
|
||||
- Delete a bucket:
|
||||
|
||||
|
Reference in New Issue
Block a user