Skip to content

Commit 680a2d9

Browse files
committed
Fix the ACL issue, mentioned in in issue#18
Signed-off-by: Abdul Hameed <[email protected]>
1 parent 443c130 commit 680a2d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

module_0/infra/aws/main.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ resource "aws_s3_bucket" "feast_bucket" {
77
force_destroy = true
88
}
99

10+
resource "aws_s3_bucket_ownership_controls" "feast_bucket_acl" {
11+
bucket = aws_s3_bucket.feast_bucket.bucket
12+
rule {
13+
object_ownership = "BucketOwnerPreferred"
14+
}
15+
}
16+
1017
resource "aws_s3_bucket_acl" "feast_bucket_acl" {
1118
bucket = aws_s3_bucket.feast_bucket.bucket
1219
acl = "private"

0 commit comments

Comments
 (0)