File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Resources:
16
16
Condition :
17
17
StringLike :
18
18
token.actions.githubusercontent.com:sub : !Sub repo:${Repository}:*
19
- Path : /gocapture /
19
+ Path : /go_capture /
20
20
Policies :
21
21
- PolicyName : CloudFormationPolicy
22
22
PolicyDocument : {
@@ -37,6 +37,21 @@ Resources:
37
37
]
38
38
}
39
39
- PolicyName : IamPolicy
40
+ PolicyDocument : {
41
+ " Version " : " 2012-10-17" ,
42
+ " Statement " : [
43
+ {
44
+ " Effect " : Allow,
45
+ " Action " : [
46
+ iam:GetRole,
47
+ iam:GetUser,
48
+ iam:ListAccessKeys,
49
+ ],
50
+ " Resource " : " arn:aws:iam::200049542062:user/go_capture/*"
51
+ },
52
+ ]
53
+ }
54
+ - PolicyName : IamDeployUserPolicy
40
55
PolicyDocument : {
41
56
" Version " : " 2012-10-17" ,
42
57
" Statement " : [
@@ -48,13 +63,13 @@ Resources:
48
63
iam:DeleteUserPolicy,
49
64
iam:GetRole,
50
65
iam:GetUser,
51
- iam:ListAccessKeys,
52
66
iam:PutRolePolicy,
53
67
iam:PutRoleRole,
54
68
iam:PutUserPolicy,
55
69
iam:UpdateAssumeRolePolicy,
70
+ iam:ListAccessKeys,
56
71
],
57
- " Resource " : " * "
72
+ " Resource " : " arn:aws:iam::200049542062:user/go_capture/beta_deploy "
58
73
},
59
74
]
60
75
}
You can’t perform that action at this time.
0 commit comments