File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,17 @@ This action requires the following minimum set of permissions:
44
44
],
45
45
"Resource":"*"
46
46
},
47
+ {
48
+ "Sid":"PassRolesInTaskDefinition",
49
+ "Effect":"Allow",
50
+ "Action":[
51
+ "iam:PassRole"
52
+ ],
53
+ "Resource":[
54
+ "arn:aws:iam::<aws_account_id>:role/<task_definition_task_role_name>",
55
+ "arn:aws:iam::<aws_account_id>:role/<task_definition_task_execution_role_name>"
56
+ ]
57
+ },
47
58
{
48
59
"Sid":"DeployService",
49
60
"Effect":"Allow",
@@ -52,7 +63,7 @@ This action requires the following minimum set of permissions:
52
63
"ecs:DescribeServices"
53
64
],
54
65
"Resource":[
55
- "arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name "
66
+ "arn:aws:ecs:region:< aws_account_id> :service/<cluster_name>/<service_name> "
56
67
]
57
68
}
58
69
]
You can’t perform that action at this time.
0 commit comments