[doc] Update s3api command to create OIDC bucket

Recently AWS disabled ACLs by default, so we need to update s3 commands to create public buckets
This commit is contained in:
AkiraFukushima 2023-06-13 22:52:37 +09:00
parent 3eac17c582
commit 243c99166e
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
1 changed files with 6 additions and 0 deletions

View File

@ -263,6 +263,12 @@ The ACL must be public so that the AWS STS service can access them.
aws s3api create-bucket \
--bucket prefix-example-com-oidc-store \
--region us-east-1 \
--object-ownership BucketOwnerPreferred
aws s3api put-public-access-block \
--bucket prefix-example-com-oidc-store \
--public-access-block-configuration BlockPublicAcls=false,IgnorePublicAcls=false,BlockPublicPolicy=false,RestrictPublicBuckets=false
aws s3api put-bucket-acl \
--bucket prefix-example-com-oidc-store \
--acl public-read
```