Skip to content

Commit

Permalink
bucket policy
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyek committed Jun 12, 2024
1 parent 37e16d0 commit 816ead5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions infra/modules/s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ data "aws_iam_policy_document" "playwright_traces_put_object_policy" {
}
}

resource "aws_iam_policy" "playwright_traces_put_object_policy" {
name = "playwright-traces-put-object-policy"
path = "/"
resource "aws_s3_bucket_policy" "playwright_traces_put_object_policy" {
bucket = aws_s3_bucket.playwright_traces.id
policy = data.aws_iam_policy_document.playwright_traces_put_object_policy.json
}

0 comments on commit 816ead5

Please sign in to comment.