Skip to content

Commit

Permalink
Merge pull request #7 from QuiNovas/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
vchinnakotla authored Oct 5, 2020
2 parents 35d7496 + 9f97986 commit a4ef4fe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,13 @@ data "aws_iam_policy_document" "log" {
resource "aws_s3_bucket_policy" "log" {
bucket = aws_s3_bucket.log.id
policy = data.aws_iam_policy_document.log.json
}

resource "aws_s3_bucket_public_access_block" "log" {
bucket = aws_s3_bucket.log.id
block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true

}

0 comments on commit a4ef4fe

Please sign in to comment.