Update ACL for public bucket (#322)

Update ACL as "public-read" for the public bucket
This commit is contained in:
An Qiuyu
2022-11-24 04:24:52 +08:00
committed by GitHub
parent 737c411ae8
commit 7c00bca649

View File

@@ -17,7 +17,7 @@ aws.s3.BucketObject("bucketObject",
# Public Bucket # Public Bucket
aws.s3.Bucket("my-first-public-bucket", aws.s3.Bucket("my-first-public-bucket",
acl="private", acl="public-read",
tags={ tags={
"Environment": "Exercise", "Environment": "Exercise",
"Name": "My First Public Bucket"}, "Name": "My First Public Bucket"},