Skip to content

Commit

Permalink
add statement attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashle001 committed Oct 21, 2020
1 parent a9b8f60 commit a37fcc8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ data "aws_iam_policy_document" "this" {
}
}
statement {
sid = "IPAddressRestriction"
effect = "Deny"
actions = ["s3:*"]
principals {
type = "AWS"
identifiers = ["*"]
}
dynamic "condition" {
for_each = local.s3_bucket_conditions
iterator = c
Expand Down

0 comments on commit a37fcc8

Please sign in to comment.