Skip to content

Commit

Permalink
Adding an explicit effect since the opa checks expect an explicit all…
Browse files Browse the repository at this point in the history
…ow or deny (#491)
  • Loading branch information
sylviamclaughlin authored May 24, 2024
1 parent 76c8af5 commit 33a07c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simple_static_website/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ terraform {
data "aws_iam_policy_document" "s3_policy" {
statement {
actions = ["s3:GetObject"]
effect = "Allow"
resources = ["${aws_s3_bucket.this.arn}/*"]

principals {
Expand Down

0 comments on commit 33a07c4

Please sign in to comment.