Skip to content

Commit

Permalink
chore: add sid for policy (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
whoiskai authored Nov 6, 2024
1 parent 0a3d9c9 commit f1342d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ data "aws_iam_policy_document" "main" {
for_each = var.s3_buckets

statement {
sid = "DenyInsecureTransportProtocol"

actions = ["s3:*"]
resources = [
"arn:aws:s3:::${each.value.bucket}",
Expand Down

0 comments on commit f1342d3

Please sign in to comment.