Skip to content

Commit e050145

Browse files
Update s3.tf
1 parent 9c87e43 commit e050145

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

s3.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
resource "aws_s3_bucket" "this" {
22
bucket = "${var.project_name}-${var.aws_account_id}"
3+
4+
block_public_acls = true
5+
block_public_policy = true
6+
ignore_public_acls = true
7+
restrict_public_buckets = true
38

49
website {
510
redirect_all_requests_to = "https://${var.target_domain}"

0 commit comments

Comments
 (0)