-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildBucketAccessPolicy.json
42 lines (42 loc) · 1.14 KB
/
buildBucketAccessPolicy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"Version": "2012-10-17",
"Id": "CrossAccountAccessPolicy",
"Statement": [
{
"Sid": "StageDeploymentObjectAccess",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::094345010951:root"
},
"Action": "s3:Get*",
"Resource": "arn:aws:s3:::trustpilot-build/*"
},
{
"Sid": "StageDeploymentAccess",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::094345010951:root"
},
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::trustpilot-build"
},
{
"Sid": "LiveDeploymentObjectAccess",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::189470795347:root"
},
"Action": "s3:Get*",
"Resource": "arn:aws:s3:::trustpilot-build/*"
},
{
"Sid": "LiveDeploymentAccess",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::189470795347:root"
},
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::trustpilot-build"
}
]
}