This repository was archived by the owner on Nov 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +27
-45
lines changed Expand file tree Collapse file tree 2 files changed +27
-45
lines changed Original file line number Diff line number Diff line change 11{
22 "Version" : " 2012-10-17" ,
3- "Statement" : [
4- {
5- "Sid" : " Stmt1471562879000" ,
6- "Effect" : " Allow" ,
7- "Action" : [
8- " sts:AssumeRole"
9- ],
10- "Resource" : [
11- " arn:aws:iam::<YOUR_USERS_ACCOUNT_ID_HERE>:role/<YOUR_USERS_ACCOUNT_ROLE_NAME_HERE>"
12- ]
13- }
14- ]
3+ "Statement" : [{
4+ "Effect" : " Allow" ,
5+ "Action" : " sts:AssumeRole" ,
6+ "Resource" : [
7+ " arn:aws:iam::<YOUR_USERS_ACCOUNT_ID_HERE>:role/<YOUR_USERS_ACCOUNT_ROLE_NAME_HERE>"
8+ ]
9+ }]
1510}
Original file line number Diff line number Diff line change 11{
22 "Version" : " 2012-10-17" ,
3- "Statement" : [
4- {
5- "Sid" : " Stmt1471562879000" ,
3+ "Statement" : [{
4+ "Effect" : " Allow" ,
5+ "Action" : [
6+ " iam:ListUsers" ,
7+ " iam:GetGroup"
8+ ],
9+ "Resource" : " *"
10+ }, {
11+ "Effect" : " Allow" ,
12+ "Action" : [
13+ " iam:GetSSHPublicKey" ,
14+ " iam:ListSSHPublicKeys"
15+ ],
16+ "Resource" : [
17+ " arn:aws:iam::<YOUR_USERS_ACCOUNT_ID_HERE>:user/*"
18+ ]
19+ }, {
620 "Effect" : " Allow" ,
7- "Action" : [
8- " iam:ListUsers" ,
9- " iam:GetGroup"
10- ],
11- "Resource" : [
12- " *"
13- ]
14- },
15- {
16- "Sid" : " Stmt1471562943000" ,
17- "Effect" : " Allow" ,
18- "Action" : [
19- " iam:GetSSHPublicKey" ,
20- " iam:ListSSHPublicKeys"
21- ],
22- "Resource" : [
23- " arn:aws:iam::<YOUR_USERS_ACCOUNT_ID_HERE>:user/*"
24- ]
25- },
26- {
27- "Sid" : " Stmt1500475854000" ,
28- "Effect" : " Allow" ,
29- "Action" : [
30- " ec2:DescribeTags"
31- ],
32- "Resource" : [
33- " *"
34- ]
35- }
36- ]
21+ "Action" : " ec2:DescribeTags" ,
22+ "Resource" : " *"
23+ }]
3724}
You can’t perform that action at this time.
0 commit comments