From 29df71badd243c12f04837f25d063e1cc6b7cfb0 Mon Sep 17 00:00:00 2001 From: Shane da Silva Date: Mon, 21 Oct 2024 23:28:58 -0700 Subject: [PATCH] Remove unused task definition (#401) We now use EC2 instead of Fargate. --- .aws/fname-registry-api.json | 131 ----------------------------------- 1 file changed, 131 deletions(-) delete mode 100644 .aws/fname-registry-api.json diff --git a/.aws/fname-registry-api.json b/.aws/fname-registry-api.json deleted file mode 100644 index 90135f0f..00000000 --- a/.aws/fname-registry-api.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "executionRoleArn": "arn:aws:iam::526236635984:role/fname-registry-ecs-task-execution-role", - "taskRoleArn": "arn:aws:iam::526236635984:role/fname-registry-ecs-task-role", - "containerDefinitions": [ - { - "name": "fname-registry-api", - "logConfiguration": { - "logDriver": "awslogs", - "options": { - "awslogs-group": "/ecs/fname-registry", - "awslogs-region": "us-east-1", - "awslogs-stream-prefix": "api" - } - }, - "portMappings": [ - { - "containerPort": 3000, - "protocol": "tcp" - } - ], - "command": ["node", "index.js"], - "cpu": 0, - "dockerLabels": { - "com.datadoghq.tags.env": "prod", - "com.datadoghq.tags.service": "fname-registry-api" - }, - "linuxParameters": { - "initProcessEnabled": true - }, - "environment": [ - { - "name": "TINI_VERBOSITY", - "value": "3" - }, - { - "name": "ENVIRONMENT", - "value": "prod" - }, - { - "name": "NODE_OPTIONS", - "value": "--enable-source-maps" - }, - { - "name": "DD_ENV", - "value": "prod" - }, - { - "name": "DD_SERVICE", - "value": "fname-registry-api" - }, - { - "name": "WARPCAST_ADDRESS", - "value": "0xABba722926c8302c73e57A25AD8F63753904546f" - }, - { - "name": "CCIP_ADDRESS", - "value": "0x145b9934B42F214C101De04b6115285959BDD4F5" - } - ], - "secrets": [ - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_MNEMONIC", - "name": "MNEMONIC" - }, - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_OP_ALCHEMY_SECRET", - "name": "OP_ALCHEMY_SECRET" - }, - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_MAINNET_ALCHEMY_SECRET", - "name": "MAINNET_ALCHEMY_SECRET" - }, - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_ETHERSCAN_API_SECRET", - "name": "ETHERSCAN_API_SECRET" - }, - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_INFURA_PROJECT_ID", - "name": "INFURA_PROJECT_ID" - }, - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_INFURA_PROJECT_SECRET", - "name": "INFURA_PROJECT_SECRET" - }, - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_POSTGRES_URL", - "name": "POSTGRES_URL" - }, - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/FNAME_REGISTRY_POSTGRES_URL_READ", - "name": "POSTGRES_URL_READ" - } - ], - "image": "public.ecr.aws/alpine:latest", - "essential": true - }, - { - "name": "fname-registry-api-datadog-agent", - "image": "public.ecr.aws/datadog/agent:7", - "environment": [ - { - "name": "DD_ENV", - "value": "prod" - }, - { - "name": "DD_SERVICE", - "value": "fname-registry-api" - }, - { - "name": "ECS_FARGATE", - "value": "true" - } - ], - "secrets": [ - { - "valueFrom": "arn:aws:ssm:us-east-1:526236635984:parameter/DATADOG_AGENT_API_KEY", - "name": "DD_API_KEY" - } - ] - } - ], - "cpu": "2 vCPU", - "memory": "4096", - "runtimePlatform": { - "operatingSystemFamily": "LINUX", - "cpuArchitecture": "ARM64" - }, - "family": "fname-registry-api", - "requiresCompatibilities": ["FARGATE"], - "networkMode": "awsvpc" -}