-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiam-policy-apprunner-ecr.json
More file actions
54 lines (54 loc) · 1.3 KB
/
iam-policy-apprunner-ecr.json
File metadata and controls
54 lines (54 loc) · 1.3 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
48
49
50
51
52
53
54
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ecr:GetAuthorizationToken"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ecr:BatchCheckLayerAvailability",
"ecr:GetDownloadUrlForLayer",
"ecr:BatchGetImage",
"ecr:DescribeRepositories",
"ecr:CreateRepository",
"ecr:PutImage",
"ecr:InitiateLayerUpload",
"ecr:UploadLayerPart",
"ecr:CompleteLayerUpload",
"ecr:DescribeImages",
"ecr:ListImages"
],
"Resource": "arn:aws:ecr:ap-southeast-2:147845229604:repository/permit-api"
},
{
"Effect": "Allow",
"Action": [
"apprunner:CreateService",
"apprunner:UpdateService",
"apprunner:DeleteService",
"apprunner:DescribeService",
"apprunner:ListServices",
"apprunner:StartDeployment",
"apprunner:ListOperations"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"iam:CreateRole",
"iam:AttachRolePolicy",
"iam:PassRole"
],
"Resource": [
"arn:aws:iam::147845229604:role/AppRunnerECRAccessRole*",
"arn:aws:iam::147845229604:role/service-role/AppRunnerECRAccessRole*"
]
}
]
}