Skip to content

Commit 6713828

Browse files
committed
🔧(terraform) add classroom resource in SCW bucket policy
Allow users to read the `classroom` resource in the S3 SCW bucket policy.
1 parent a378313 commit 6713828

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aws/s3_scaleway.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ resource "scaleway_object_bucket_policy" "policy" {
5858
Principal = "*",
5959
Action = "s3:GetObject",
6060
Resource = [
61+
"${scaleway_object_bucket.marsha_object_bucket.name}/classroom/*",
6162
"${scaleway_object_bucket.marsha_object_bucket.name}/vod/*",
6263
"${scaleway_object_bucket.marsha_object_bucket.name}/tmp/*"
6364
]

0 commit comments

Comments
 (0)