-
Notifications
You must be signed in to change notification settings - Fork 17
/
task-definition.json
50 lines (50 loc) · 1.41 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
{
"containerDefinitions": [
{
"name": "container-name",
"image": "366354050833.dkr.ecr.eu-central-1.amazonaws.com/discord-ecr:latest",
"cpu": 512,
"memory": 1024,
"portMappings": [],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"secrets": [
{
"name": "TOKEN",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:discord-bot-prod-env-MWQ2lL:TOKEN::"
},
{
"name": "GUILD_ID",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:discord-bot-prod-env-MWQ2lL:GUILD_ID::"
},
{
"name": "CLIENT_ID",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:discord-bot-prod-env-MWQ2lL:CLIENT_ID::"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/discordbot",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"family": "discordbot-TD",
"executionRoleArn": "arn:aws:iam::366354050833:role/ecsServiceRole",
"networkMode": "awsvpc",
"volumes": [],
"placementConstraints": [],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "512",
"memory": "1024",
"tags": []
}