Skip to content

Commit

Permalink
fix: terraform permissions for creating buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
tractorcow committed Jul 24, 2023
1 parent b30d275 commit 3210b86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gatsby-plugin-s3-e2e-tests-infrastructure/test-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:PutBucketPolicy",
"s3:DeleteBucket"
],
"Resource": "arn:aws:s3:::gatsby-plugin-s3-tests-*",
Expand Down Expand Up @@ -63,7 +64,8 @@
"Sid": "CreateBucket",
"Effect": "Allow",
"Action": [
"s3:CreateBucket"
"s3:CreateBucket",
"s3:PutBucketPolicy"
],
"Resource": "arn:aws:s3:::gatsby-plugin-s3-tests-*",
"Condition": {
Expand Down Expand Up @@ -138,4 +140,4 @@
}
}
]
}
}

0 comments on commit 3210b86

Please sign in to comment.