forked from paolofacchinetti/aws-ecs-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task-definition.json
42 lines (42 loc) · 1.1 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
{
"taskDefinitionArn": "arn:aws:ecs:eu-central-1:187156503161:task-definition/hello-aws-taskdefinition:6",
"containerDefinitions": [
{
"name": "hello-aws",
"image": "187156503161.dkr.ecr.eu-central-1.amazonaws.com/hello-aws",
"cpu": 128,
"memory": 128,
"portMappings": [
{
"containerPort": 8080,
"hostPort": 80,
"protocol": "tcp"
}
],
"essential": true,
"environment": [],
"mountPoints": [],
"volumesFrom": []
}
],
"family": "hello-aws-taskdefinition",
"executionRoleArn": "arn:aws:iam::187156503161:role/ecsTaskExecutionRole",
"revision": 6,
"volumes": [],
"status": "ACTIVE",
"requiresAttributes": [
{
"name": "com.amazonaws.ecs.capability.ecr-auth"
},
{
"name": "ecs.capability.execution-role-ecr-pull"
}
],
"placementConstraints": [],
"compatibilities": ["EXTERNAL", "EC2"],
"requiresCompatibilities": ["EC2"],
"cpu": "128",
"memory": "128",
"registeredAt": "2021-12-13T16:11:00.496000+01:00",
"registeredBy": "arn:aws:iam::187156503161:root"
}