Skip to content

Commit

Permalink
Fix the ACL issue, mentioned in in issue#18
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Hameed <[email protected]>
  • Loading branch information
redhatHameed committed Dec 14, 2023
1 parent 443c130 commit 91c66b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions module_0/infra/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ resource "aws_s3_object" "driver_stats_upload" {
key = "driver_stats.parquet"
source = "${path.module}/../driver_stats.parquet"
}


resource "aws_s3_bucket_ownership_controls" "feast_bucket_acl" {
bucket = aws_s3_bucket.feast_bucket.bucket
rule {
object_ownership = "BucketOwnerPreferred"
}
}

0 comments on commit 91c66b3

Please sign in to comment.