File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments