File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,52 @@ defmodule FlameEC2 do
2929
3030 ```json
3131 {
32+ "Version": "2012-10-17",
33+ "Statement": [
34+ {
35+ "Sid": "ec2RunInstances",
36+ "Effect": "Allow",
37+ "Action": [
38+ "ec2:DescribeTags",
39+ "ec2:CreateTags",
40+ "ec2:DeleteTags",
41+ "ec2:RunInstances"
42+ ],
43+ "Resource": "*"
44+ },
45+ {
46+ "Sid": "ssmParameters",
47+ "Effect": "Allow",
48+ "Action": [
49+ "ssm:GetParameters"
50+ ],
51+ "Resource": "*"
52+ },
53+ {
54+ "Sid": "iamRolePassing",
55+ "Effect": "Allow",
56+ "Action": [
57+ "iam:PassRole"
58+ ],
59+ "Resource": [
60+ "arn:aws:iam::*:instance-profile/*"
61+ ],
62+ "Condition": {
63+ "StringEquals": {
64+ "iam:PassedToService": "ec2.amazonaws.com"
65+ }
66+ }
67+ },
68+ {
69+ "Sid": "s3GetRelease",
70+ "Effect": "Allow",
71+ "Action": [
72+ "s3:ListBucket",
73+ "s3:GetObject"
74+ ],
75+ "Resource": "*"
76+ }
77+ ]
3278 }
3379 ```
3480
You can’t perform that action at this time.
0 commit comments