Skip to content

Commit 31f9154

Browse files
authored
Create task-definition-telegram.json
1 parent 402692a commit 31f9154

File tree

1 file changed

+125
-0
lines changed

1 file changed

+125
-0
lines changed

task-definition-telegram.json

+125
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
{
2+
"ipcMode": null,
3+
"executionRoleArn": "arn:aws:iam::366354050833:role/ecsServiceRole",
4+
"containerDefinitions": [
5+
{
6+
"dnsSearchDomains": null,
7+
"environmentFiles": [
8+
{
9+
"value": "arn:aws:s3:::credent-bucket/python_consumer.env",
10+
"type": "s3"
11+
}
12+
],
13+
"logConfiguration": {
14+
"logDriver": "awslogs",
15+
"secretOptions": null,
16+
"options": {
17+
"awslogs-group": "/ecs/address-telegram",
18+
"awslogs-region": "eu-central-1",
19+
"awslogs-create-group": "true",
20+
"awslogs-stream-prefix": "ecs"
21+
}
22+
},
23+
"entryPoint": [],
24+
"portMappings": [],
25+
"command": [],
26+
"linuxParameters": null,
27+
"cpu": 512,
28+
"environment": [{"name":"KAFKA_ADDRESS_RESOLVE_TOPIC","value":"topic.raw.telegram"}],
29+
"resourceRequirements": null,
30+
"ulimits": null,
31+
"dnsServers": null,
32+
"mountPoints": [],
33+
"workingDirectory": null,
34+
"secrets": null,
35+
"dockerSecurityOptions": null,
36+
"memory": 1024,
37+
"memoryReservation": null,
38+
"volumesFrom": [],
39+
"stopTimeout": null,
40+
"image": "nginx",
41+
"startTimeout": null,
42+
"firelensConfiguration": null,
43+
"dependsOn": null,
44+
"disableNetworking": null,
45+
"interactive": null,
46+
"healthCheck": null,
47+
"essential": true,
48+
"links": null,
49+
"hostname": null,
50+
"extraHosts": null,
51+
"pseudoTerminal": null,
52+
"user": null,
53+
"readonlyRootFilesystem": null,
54+
"dockerLabels": null,
55+
"systemControls": null,
56+
"privileged": null,
57+
"name": "container-name"
58+
}
59+
],
60+
"placementConstraints": [],
61+
"memory": "1024",
62+
"taskRoleArn": null,
63+
"compatibilities": [
64+
"EC2",
65+
"FARGATE"
66+
],
67+
"taskDefinitionArn": "arn:aws:ecs:eu-central-1:366354050833:task-definition/address-telegram-TD:2",
68+
"family": "address-telegram-TD",
69+
"requiresAttributes": [
70+
{
71+
"targetId": null,
72+
"targetType": null,
73+
"value": null,
74+
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
75+
},
76+
{
77+
"targetId": null,
78+
"targetType": null,
79+
"value": null,
80+
"name": "ecs.capability.execution-role-awslogs"
81+
},
82+
{
83+
"targetId": null,
84+
"targetType": null,
85+
"value": null,
86+
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
87+
},
88+
{
89+
"targetId": null,
90+
"targetType": null,
91+
"value": null,
92+
"name": "ecs.capability.env-files.s3"
93+
},
94+
{
95+
"targetId": null,
96+
"targetType": null,
97+
"value": null,
98+
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
99+
},
100+
{
101+
"targetId": null,
102+
"targetType": null,
103+
"value": null,
104+
"name": "ecs.capability.task-eni"
105+
},
106+
{
107+
"targetId": null,
108+
"targetType": null,
109+
"value": null,
110+
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
111+
}
112+
],
113+
"pidMode": null,
114+
"requiresCompatibilities": [
115+
"FARGATE"
116+
],
117+
"networkMode": "awsvpc",
118+
"runtimePlatform": null,
119+
"cpu": "512",
120+
"revision": 2,
121+
"status": "ACTIVE",
122+
"inferenceAccelerators": null,
123+
"proxyConfiguration": null,
124+
"volumes": []
125+
}

0 commit comments

Comments
 (0)