-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgh-actions-cloudpulse-policy.json
More file actions
47 lines (47 loc) · 1.11 KB
/
gh-actions-cloudpulse-policy.json
File metadata and controls
47 lines (47 loc) · 1.11 KB
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
43
44
45
46
47
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ECRAuth",
"Effect": "Allow",
"Action": [
"ecr:GetAuthorizationToken"
],
"Resource": "*"
},
{
"Sid": "ECRPushPull",
"Effect": "Allow",
"Action": [
"ecr:BatchCheckLayerAvailability",
"ecr:BatchGetImage",
"ecr:CompleteLayerUpload",
"ecr:GetDownloadUrlForLayer",
"ecr:InitiateLayerUpload",
"ecr:PutImage",
"ecr:UploadLayerPart"
],
"Resource": [
"arn:aws:ecr:us-east-1:413576439231:repository/cloudpulse-backend",
"arn:aws:ecr:us-east-1:413576439231:repository/cloudpulse-frontend"
]
},
{
"Sid": "ECSDeploy",
"Effect": "Allow",
"Action": [
"ecs:DescribeServices",
"ecs:DescribeTaskDefinition",
"ecs:RegisterTaskDefinition",
"ecs:UpdateService"
],
"Resource": "*"
},
{
"Sid": "PassTaskExecRole",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::413576439231:role/cloudpulse-dev-task-exec-role"
}
]
}