Skip to content

Commit

Permalink
Merge branch 'moto-test' of github.com:GSA/grace-inventory into moto-…
Browse files Browse the repository at this point in the history
…test
  • Loading branch information
bryanlalexander committed Mar 18, 2020
2 parents 1032c44 + 09bbe09 commit ff7795f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,12 @@ resource "aws_s3_bucket" "bucket" {
Name = "${upper(var.project_name)} Inventory Report"
}
}

resource "aws_s3_bucket_public_access_block" "bucket" {
bucket = aws_s3_bucket.bucket.id

block_public_acls = true
ignore_public_acls = true
block_public_policy = true
restrict_public_buckets = true
}

0 comments on commit ff7795f

Please sign in to comment.