Back
I have to rename my S3 bucket and I could see there is no option for renaming. Please suggest other steps to get over this issue.
I suggest creating a new AWS s3 bucket and making it sync with the older bucket. Kindly use the below code:
aws s3 mb s3://[new-bucket]aws s3 sync s3://[old-bucket] s3://[new-bucket]aws s3 rb --force s3://[old-bucket]
aws s3 mb s3://[new-bucket]
aws s3 sync s3://[old-bucket] s3://[new-bucket]
aws s3 rb --force s3://[old-bucket]
Learn how we helped 50,000+ professionals like you !
31k questions
32.8k answers
501 comments
693 users