Skip to content

Commit

Permalink
Updated to remove condition is s3 policy iam. (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcurtisslalom authored Aug 3, 2023
1 parent c9635f1 commit 15a217b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions catalog/aws/data-lake-users/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ resource "aws_iam_policy" "group_s3_permission" {
"Sid": "AllowS3ListingON${replace(replace(replace(grant.path, "/", ""), "-", ""), "_", "")}",
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::${var.data_bucket}"],
${grant.path == "" ? "" : <<EOF
"Condition":{"StringEquals":{"s3:prefix":["${grant.path}"],"s3:delimiter":["/"]}},
EOF
}
"Effect": "Allow"
}
EOF2
Expand Down

0 comments on commit 15a217b

Please sign in to comment.