-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask-definition.json
57 lines (57 loc) · 1.58 KB
/
task-definition.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"taskDefinitionArn": "arn:aws:ecs:ap-southeast-1:007142787967:task-definition/ani_cluster:8",
"containerDefinitions": [
{
"name": "ani_task",
"image": "007142787967.dkr.ecr.ap-southeast-1.amazonaws.com/ani-app",
"cpu": 0,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp"
}
],
"essential": true,
"environment": [],
"mountPoints": [],
"volumesFrom": []
}
],
"family": "ani_cluster",
"taskRoleArn": "arn:aws:iam::007142787967:role/ecsUdemy",
"executionRoleArn": "arn:aws:iam::007142787967:role/ecsUdemy",
"networkMode": "awsvpc",
"revision": 8,
"volumes": [],
"status": "ACTIVE",
"requiresAttributes": [
{
"name": "com.amazonaws.ecs.capability.ecr-auth"
},
{
"name": "com.amazonaws.ecs.capability.task-iam-role"
},
{
"name": "ecs.capability.execution-role-ecr-pull"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
},
{
"name": "ecs.capability.task-eni"
}
],
"placementConstraints": [],
"compatibilities": [
"EC2",
"FARGATE"
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "1024",
"memory": "2048",
"registeredAt": "2023-10-02T22:05:54.663000+07:00",
"registeredBy": "arn:aws:iam::007142787967:user/terraform"
}