Skip to content

Commit 265719a

Browse files
committed
fixed spacing for README.md file
1 parent 810476d commit 265719a

File tree

1 file changed

+24
-25
lines changed

1 file changed

+24
-25
lines changed

README.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -159,32 +159,31 @@ Running a one-off/stand-alone task requires the following minimum set of permiss
159159

160160
```json
161161
{
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+
]
186186
}
187-
188187
```
189188
Note: the policy above assumes the account has opted in to the ECS long ARN format.
190189

0 commit comments

Comments
 (0)