Skip to content

Commit 92045ba

Browse files
committed
Grant runners write access to S3 ossci-benchmarks bucket
Go with meta-pytorch/pytorch-gha-infra#533
1 parent a717232 commit 92045ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ali/aws/391835788720/us-east-1/iam_policies.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ resource "aws_iam_policy" "allow_s3_sccache_access_on_gha_runners" {
208208
"Resource": [
209209
"arn:aws:s3:::ossci-windows/*"
210210
]
211+
},
212+
{
213+
"Sid": "AllObjectActionsOssciBenchmarks",
214+
"Effect": "Allow",
215+
"Action": "s3:*Object",
216+
"Resource": ["arn:aws:s3:::ossci-benchmarks/*"]
211217
}
212218
]
213219
}

0 commit comments

Comments
 (0)