From e1fddf254698e8d9c055c87c3f11922ceb46dc07 Mon Sep 17 00:00:00 2001 From: Shivam Date: Tue, 11 Oct 2022 07:59:46 +0530 Subject: [PATCH] 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 --- pages/common/aws-s3api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/aws-s3api.md b/pages/common/aws-s3api.md index 7f62826db..3f32c0a65 100644 --- a/pages/common/aws-s3api.md +++ b/pages/common/aws-s3api.md @@ -3,9 +3,9 @@ > Create and delete Amazon S3 buckets and edit bucket properties. > More information: . -- 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: