File tree Expand file tree Collapse file tree 1 file changed +24
-25
lines changed Expand file tree Collapse file tree 1 file changed +24
-25
lines changed Original file line number Diff line number Diff line change @@ -159,32 +159,31 @@ Running a one-off/stand-alone task requires the following minimum set of permiss
159
159
160
160
` ` ` json
161
161
{
162
- "Version": "2012-10-17",
163
- "Statement": [
164
- {
165
- "Sid": "VisualEditor0",
166
- "Effect": "Allow",
167
- "Action": [
168
- "ecs:RunTask",
169
- "ecs:RegisterTaskDefinition",
170
- "ecs:DescribeTasks"
171
- ],
172
- "Resource": "*"
173
- },
174
- {
175
- "Sid": "PassRolesInTaskDefinition",
176
- "Effect":"Allow",
177
- "Action": [
178
- "iam:PassRole"
179
- ],
180
- "Resource":[
181
- "arn:aws:iam::<aws_account_id>:role/<task_definition_task_role_name>",
182
- "arn:aws:iam::<aws_account_id>:role/<task_definition_task_execution_role_name>"
183
- ]
184
- }
185
- ]
162
+ "Version": "2012-10-17",
163
+ "Statement":[
164
+ {
165
+ "Sid": "VisualEditor0",
166
+ "Effect": "Allow",
167
+ "Action":[
168
+ "ecs:RunTask",
169
+ "ecs:RegisterTaskDefinition",
170
+ "ecs:DescribeTasks"
171
+ ],
172
+ "Resource": "*"
173
+ },
174
+ {
175
+ "Sid": "PassRolesInTaskDefinition",
176
+ "Effect":"Allow",
177
+ "Action":[
178
+ "iam:PassRole"
179
+ ],
180
+ "Resource":[
181
+ "arn:aws:iam::<aws_account_id>:role/<task_definition_task_role_name>",
182
+ "arn:aws:iam::<aws_account_id>:role/<task_definition_task_execution_role_name>"
183
+ ]
184
+ }
185
+ ]
186
186
}
187
-
188
187
` ` `
189
188
Note : the policy above assumes the account has opted in to the ECS long ARN format.
190
189
You can’t perform that action at this time.
0 commit comments