Skip to content

Commit 5fbd812

Browse files
chore: Add test file for negative leftover coloring
Adds `test_task.json` which was used to manually verify the feature that colors negative 'LEFTOVER' resource values red.
1 parent fcc943f commit 5fbd812

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

test_task.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"taskDefinition": {
3+
"family": "test-family",
4+
"cpu": "1024",
5+
"memory": "2048",
6+
"networkMode": "awsvpc",
7+
"requiresCompatibilities": [
8+
"FARGATE"
9+
],
10+
"executionRoleArn": "arn:aws:iam::123456789012:role/ecsTaskExecutionRole",
11+
"containerDefinitions": [
12+
{
13+
"name": "container1",
14+
"image": "nginx:latest",
15+
"cpu": 600,
16+
"memory": 1500,
17+
"memoryReservation": 1024,
18+
"essential": true,
19+
"portMappings": [
20+
{
21+
"containerPort": 80,
22+
"hostPort": 80,
23+
"protocol": "tcp"
24+
}
25+
],
26+
"logConfiguration": {
27+
"logDriver": "awslogs",
28+
"options": {
29+
"awslogs-group": "/ecs/test-family",
30+
"awslogs-region": "us-east-1",
31+
"awslogs-stream-prefix": "ecs"
32+
}
33+
}
34+
},
35+
{
36+
"name": "container2",
37+
"image": "redis:latest",
38+
"cpu": 600,
39+
"memory": 1500,
40+
"memoryReservation": 1024,
41+
"essential": true,
42+
"logConfiguration": {
43+
"logDriver": "awslogs",
44+
"options": {
45+
"awslogs-group": "/ecs/test-family",
46+
"awslogs-region": "us-east-1",
47+
"awslogs-stream-prefix": "ecs"
48+
}
49+
}
50+
}
51+
]
52+
}
53+
}

0 commit comments

Comments
 (0)