From cb5c0ec734bcf21dac55a047cd6d05232db5fe6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joanna=20P=C5=82atek?= Date: Tue, 6 Feb 2024 15:57:43 +0100 Subject: [PATCH] build: add client aws task definition --- .aws/task-definition-client.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .aws/task-definition-client.json diff --git a/.aws/task-definition-client.json b/.aws/task-definition-client.json new file mode 100644 index 0000000..066fd61 --- /dev/null +++ b/.aws/task-definition-client.json @@ -0,0 +1,32 @@ +{ + "containerDefinitions": [ + { + "name": "app", + "image": "806227494574.dkr.ecr.eu-west-1.amazonaws.com/aws-movie-app-express-client:latest", + "cpu": 0, + "portMappings": [ + { + "containerPort": 3000, + "hostPort": 3000, + "protocol": "tcp" + } + ], + "essential": true, + "environment": [], + "mountPoints": [], + "volumesFrom": [] + } + ], + "family": "aws-movie-app-express-client__staging", + "executionRoleArn": "arn:aws:iam::806227494574:role/task-execution-role", + "taskRoleArn": "arn:aws:iam::806227494574:role/aws-movie-app-express-client_iam_role", + "networkMode": "awsvpc", + "volumes": [], + "placementConstraints": [], + "requiresCompatibilities": [ + "FARGATE" + ], + "cpu": "512", + "memory": "1024", + "tags": [] +}