-
Notifications
You must be signed in to change notification settings - Fork 25
/
task-definition.json
43 lines (43 loc) · 1.38 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
{
"containerDefinitions": [
{
"name": "dataflowops",
"image": "338306982838.dkr.ecr.us-east-1.amazonaws.com/dataflowops",
"essential": true,
"entryPoint": [
"bash",
"-c"
],
"command": [
"prefect agent start -q dataflowops"
],
"secrets": [
{
"name": "PREFECT_WORKSPACE",
"valueFrom": "arn:aws:ssm:us-east-1:338306982838:parameter/PREFECT_WORKSPACE"
},
{
"name": "PREFECT_API_KEY",
"valueFrom": "arn:aws:ssm:us-east-1:338306982838:parameter/PREFECT_API_KEY"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "dataflowops",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "dataflowops"
}
}
}
],
"family": "dataflowops",
"taskRoleArn": "arn:aws:iam::338306982838:role/dataflowops_ecs_task_role",
"executionRoleArn": "arn:aws:iam::338306982838:role/dataflowops_ecs_execution_role",
"networkMode": "awsvpc",
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "512",
"memory": "1024"
}