From c88a747170563bc71e7ab418ee5491697388abe2 Mon Sep 17 00:00:00 2001 From: Kumaran Rajendhiran Date: Wed, 13 Sep 2023 15:00:01 +0530 Subject: [PATCH] Update task definition --- ecs-task-definition.json | 268 ++------------------------------------- 1 file changed, 14 insertions(+), 254 deletions(-) diff --git a/ecs-task-definition.json b/ecs-task-definition.json index 475fa3b..0668e4d 100644 --- a/ecs-task-definition.json +++ b/ecs-task-definition.json @@ -1,263 +1,23 @@ { - "family": "faststream-gen-fam", - "taskRoleArn": "", - "executionRoleArn": "", - "networkMode": "awsvpc", + "family": "faststream_gen_family", + "networkMode": "awsvpc", "containerDefinitions": [ { - "name": "faststream_gen_container", - "image": "faststream_gen", - "repositoryCredentials": { - "credentialsParameter": "" - }, - "cpu": 0, - "memory": 0, - "memoryReservation": 0, - "links": [ - "" - ], + "name": "faststream_gen_container", + "image": "617504802562.dkr.ecr.eu-central-1.amazonaws.com/faststream_gen:latest", "portMappings": [ { - "containerPort": 0, - "hostPort": 0, - "protocol": "udp", - "name": "", - "appProtocol": "http2", - "containerPortRange": "" + "containerPort": 80, + "hostPort": 80, + "protocol": "tcp" } - ], - "essential": true, - "entryPoint": [ - "" - ], - "command": [ - "" - ], - "environment": [ - { - "name": "", - "value": "" - } - ], - "environmentFiles": [ - { - "value": "", - "type": "s3" - } - ], - "mountPoints": [ - { - "sourceVolume": "", - "containerPath": "", - "readOnly": true - } - ], - "volumesFrom": [ - { - "sourceContainer": "", - "readOnly": true - } - ], - "linuxParameters": { - "capabilities": { - "add": [ - "" - ], - "drop": [ - "" - ] - }, - "devices": [ - { - "hostPath": "", - "containerPath": "", - "permissions": [ - "mknod" - ] - } - ], - "initProcessEnabled": true, - "sharedMemorySize": 0, - "tmpfs": [ - { - "containerPath": "", - "size": 0, - "mountOptions": [ - "" - ] - } - ], - "maxSwap": 0, - "swappiness": 0 - }, - "secrets": [ - { - "name": "", - "valueFrom": "" - } - ], - "dependsOn": [ - { - "containerName": "", - "condition": "SUCCESS" - } - ], - "startTimeout": 0, - "stopTimeout": 0, - "hostname": "", - "user": "", - "workingDirectory": "", - "disableNetworking": true, - "privileged": true, - "readonlyRootFilesystem": true, - "dnsServers": [ - "" - ], - "dnsSearchDomains": [ - "" - ], - "extraHosts": [ - { - "hostname": "", - "ipAddress": "" - } - ], - "dockerSecurityOptions": [ - "" - ], - "interactive": true, - "pseudoTerminal": true, - "dockerLabels": { - "KeyName": "" - }, - "ulimits": [ - { - "name": "msgqueue", - "softLimit": 0, - "hardLimit": 0 - } - ], - "logConfiguration": { - "logDriver": "fluentd", - "options": { - "KeyName": "" - }, - "secretOptions": [ - { - "name": "", - "valueFrom": "" - } - ] - }, - "healthCheck": { - "command": [ - "" - ], - "interval": 0, - "timeout": 0, - "retries": 0, - "startPeriod": 0 - }, - "systemControls": [ - { - "namespace": "", - "value": "" - } - ], - "resourceRequirements": [ - { - "value": "", - "type": "InferenceAccelerator" - } - ], - "firelensConfiguration": { - "type": "fluentbit", - "options": { - "KeyName": "" - } - }, - "credentialSpecs": [ - "" - ] - } - ], - "volumes": [ - { - "name": "", - "host": { - "sourcePath": "" - }, - "dockerVolumeConfiguration": { - "scope": "task", - "autoprovision": true, - "driver": "", - "driverOpts": { - "KeyName": "" - }, - "labels": { - "KeyName": "" - } - }, - "efsVolumeConfiguration": { - "fileSystemId": "", - "rootDirectory": "", - "transitEncryption": "ENABLED", - "transitEncryptionPort": 0, - "authorizationConfig": { - "accessPointId": "", - "iam": "ENABLED" - } - }, - "fsxWindowsFileServerVolumeConfiguration": { - "fileSystemId": "", - "rootDirectory": "", - "authorizationConfig": { - "credentialsParameter": "", - "domain": "" - } - } - } - ], - "placementConstraints": [ - { - "type": "memberOf", - "expression": "" + ], + "essential": true } - ], + ], "requiresCompatibilities": [ "FARGATE" - ], - "cpu": "256", - "memory": "512", - "tags": [ - { - "key": "", - "value": "" - } - ], - "pidMode": "task", - "ipcMode": "host", - "proxyConfiguration": { - "type": "APPMESH", - "containerName": "", - "properties": [ - { - "name": "", - "value": "" - } - ] - }, - "inferenceAccelerators": [ - { - "deviceName": "", - "deviceType": "" - } - ], - "ephemeralStorage": { - "sizeInGiB": 0 - }, - "runtimePlatform": { - "cpuArchitecture": "X86_64", - "operatingSystemFamily": "LINUX" - } -} + ], + "cpu": "256", + "memory": "512" +} \ No newline at end of file