Skip to content

Commit

Permalink
add ssl enforcement policy2
Browse files Browse the repository at this point in the history
  • Loading branch information
ashle001 committed Sep 24, 2020
1 parent 61bc94d commit 70aa3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ data "aws_iam_policy_document" "this" {
statement {
sid = "enforceSSL"
effe = "Deny"
principals = "*",
actions = "s3:*",
principals = "*"
actions = "s3:*"
resources = [aws_s3_bucket.this.arn, "${aws_s3_bucket.this.arn}/*"]
condition {
test = "Bool"
Expand Down

0 comments on commit 70aa3c6

Please sign in to comment.