Skip to content

Commit

Permalink
Merge pull request #15 from QuiNovas/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
AngadiS authored Aug 19, 2021
2 parents 903db8d + a3f4e39 commit ba8811b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions s3-bucket.tf
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,10 @@ resource "aws_s3_bucket_policy" "config" {
policy = data.aws_iam_policy_document.config.json
}

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

0 comments on commit ba8811b

Please sign in to comment.