Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Confusing documentation for create_bucket function #565

Closed
RyanFitzSimmonsAK opened this issue Jul 18, 2023 · 2 comments
Closed

Confusing documentation for create_bucket function #565

RyanFitzSimmonsAK opened this issue Jul 18, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation s3

Comments

@RyanFitzSimmonsAK
Copy link

Original issue : boto/boto3#3775

Ticket # for internal reference : P94453683

@RyanFitzSimmonsAK
Copy link
Author

CreateBucket documentation has been updated to include a note describing this behavior.

To set an ACL on a bucket as part of a CreateBucket request, you must explicitly set S3 Object Ownership for the bucket to a different value than the default, BucketOwnerEnforced. Additionally, if your desired bucket ACL grants public access, you must first create the bucket (without the bucket ACL) and then explicitly disable Block Public Access on the bucket before using PutBucketAcl to set the ACL. If you try to create a bucket with a public ACL, the request will fail.

Copy link

This issue is now closed.

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation s3
Projects
None yet
Development

No branches or pull requests

1 participant