diff --git a/out.json b/out.json deleted file mode 100644 index 2e78fde..0000000 --- a/out.json +++ /dev/null @@ -1,324 +0,0 @@ -{ - "services": [ - { - "serviceArn": "arn:aws:ecs:us-west-2:717408832317:service/codespace-staging/api-on-ecs", - "serviceName": "api-on-ecs", - "clusterArn": "arn:aws:ecs:us-west-2:717408832317:cluster/codespace-staging", - "loadBalancers": [], - "serviceRegistries": [], - "status": "ACTIVE", - "desiredCount": 3, - "runningCount": 1, - "pendingCount": 3, - "launchType": "FARGATE", - "platformVersion": "LATEST", - "platformFamily": "Linux", - "taskDefinition": "arn:aws:ecs:us-west-2:717408832317:task-definition/prodvana-demo-api:44", - "deploymentConfiguration": { - "deploymentCircuitBreaker": { - "enable": false, - "rollback": false - }, - "maximumPercent": 200, - "minimumHealthyPercent": 100 - }, - "deployments": [ - { - "id": "ecs-svc/4494220647482768630", - "status": "PRIMARY", - "taskDefinition": "arn:aws:ecs:us-west-2:717408832317:task-definition/prodvana-demo-api:44", - "desiredCount": 3, - "pendingCount": 3, - "runningCount": 0, - "failedTasks": 0, - "createdAt": "2023-11-29T18:08:58.327000+00:00", - "updatedAt": "2023-11-29T18:09:11.908000+00:00", - "launchType": "FARGATE", - "platformVersion": "1.4.0", - "platformFamily": "Linux", - "networkConfiguration": { - "awsvpcConfiguration": { - "subnets": [ - "subnet-0954312108c6f1365" - ], - "securityGroups": [ - "sg-0b034f6a64cf26051" - ], - "assignPublicIp": "ENABLED" - } - }, - "rolloutState": "IN_PROGRESS", - "rolloutStateReason": "ECS deployment ecs-svc/4494220647482768630 in progress." - }, - { - "id": "ecs-svc/1385981980928187514", - "status": "ACTIVE", - "taskDefinition": "arn:aws:ecs:us-west-2:717408832317:task-definition/prodvana-demo-api:30", - "desiredCount": 1, - "pendingCount": 0, - "runningCount": 1, - "failedTasks": 0, - "createdAt": "2023-11-21T23:36:10.792000+00:00", - "updatedAt": "2023-11-29T18:09:11.964000+00:00", - "launchType": "FARGATE", - "platformVersion": "1.4.0", - "platformFamily": "Linux", - "networkConfiguration": { - "awsvpcConfiguration": { - "subnets": [ - "subnet-0954312108c6f1365" - ], - "securityGroups": [ - "sg-0b034f6a64cf26051" - ], - "assignPublicIp": "ENABLED" - } - }, - "rolloutState": "COMPLETED", - "rolloutStateReason": "ECS deployment ecs-svc/1385981980928187514 completed." - } - ], - "roleArn": "arn:aws:iam::717408832317:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", - "events": [ - { - "id": "918b8737-9b34-481e-b8c8-2f9e891dd428", - "createdAt": "2023-11-29T18:09:12.699000+00:00", - "message": "(service api-on-ecs) has started 3 tasks: (task 47d8914293d1408caf10e15d7e217aee) (task 66e4ee7e02c94b01ab6a73b0e7bc7ea3) (task 9c91d981d8ed4c47baa674344f82ec08)." - }, - { - "id": "8600e06b-cc75-4d35-be8e-d78efd2074fd", - "createdAt": "2023-11-29T17:45:13.530000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "ce00c820-aa82-46ee-9295-f41b726e52ee", - "createdAt": "2023-11-29T11:45:05.865000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "cdd3e6be-e073-45d2-b602-e272ed81bee0", - "createdAt": "2023-11-29T05:45:02.190000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "6b78307c-6ecc-46e6-9625-681415c810f4", - "createdAt": "2023-11-28T23:44:58.825000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "b0348d72-4492-47be-b774-fba86ea7d6a0", - "createdAt": "2023-11-28T17:44:51.417000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "89ba5626-bfb0-4888-9daf-7abb4f9dc02b", - "createdAt": "2023-11-28T11:44:37.242000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "ae0d47ef-bf5c-46de-ba35-fe27c91a8012", - "createdAt": "2023-11-28T05:44:22.085000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "5a16ee57-55af-4dae-90a4-d64d9b9769ce", - "createdAt": "2023-11-27T23:44:11.612000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "52105691-61d6-4a14-8552-2810f462cc52", - "createdAt": "2023-11-27T17:44:08.734000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "4bb6dbb2-12af-4eb9-8adb-10e142ca020a", - "createdAt": "2023-11-27T11:43:57.302000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "777e4478-f426-438d-8f96-015d7cea57df", - "createdAt": "2023-11-27T05:43:36.177000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "ab8596f5-fa58-457a-97e2-b6a69f73bfc4", - "createdAt": "2023-11-26T23:43:18.924000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "f90851ad-51b8-450a-b573-d3e99ac7fb2b", - "createdAt": "2023-11-26T17:43:00.483000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "108e7732-d781-4f15-8914-c1b9ab03f0d5", - "createdAt": "2023-11-26T11:42:39.574000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "db6668a5-47e1-4eb5-b7a1-5bf877863875", - "createdAt": "2023-11-26T05:42:36.364000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "2bfcda09-b961-4557-b0dc-645ae84cb4a6", - "createdAt": "2023-11-25T23:42:23.138000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "45bfdd59-4cd7-495e-baf0-e77fade5731f", - "createdAt": "2023-11-25T17:41:54.906000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "72537fab-0e1a-48f6-be87-0f6e40ee8060", - "createdAt": "2023-11-25T11:41:30.371000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "37911010-8607-4c5c-b796-a100c96fbfde", - "createdAt": "2023-11-25T05:41:24.017000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "02cf4aa2-ad7a-4671-93c2-ae55030ba7f8", - "createdAt": "2023-11-24T23:41:21.355000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "01fa62f6-7564-4df1-babc-a2357078ed07", - "createdAt": "2023-11-24T17:41:19.877000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "2a067b44-45a9-4c5a-9cad-f4e4714ea9ce", - "createdAt": "2023-11-24T11:40:54.863000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "916899e6-b102-40ad-b4b1-1ec9dd65b732", - "createdAt": "2023-11-24T05:40:45.881000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "39498e3c-b357-4576-b722-c48d44708d1c", - "createdAt": "2023-11-23T23:40:31.793000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "2c46e108-de7d-49c4-a6fd-2fc86a3b7612", - "createdAt": "2023-11-23T17:40:18.740000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "029b43d6-8e14-4c21-b6c9-687dd20f8109", - "createdAt": "2023-11-23T11:39:58.834000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "c7f89a91-2386-484e-b7f9-8584b0ca6432", - "createdAt": "2023-11-23T05:39:43.952000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "08248a3e-6bd2-4301-85ad-7c0e51db47b6", - "createdAt": "2023-11-22T23:39:32.306000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "cde2ee74-9b00-450b-b223-8d1189e8f07b", - "createdAt": "2023-11-22T17:39:26.267000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "f850b730-2ac9-415a-933d-3c03e9b358f1", - "createdAt": "2023-11-22T11:39:20.007000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "d55d9f6c-92e8-479c-8db9-a1fb5c5fc44b", - "createdAt": "2023-11-22T05:39:09.966000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "4700bd18-51aa-4897-af98-db5d3e361ff2", - "createdAt": "2023-11-21T23:38:50.679000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "b3f9315e-1c41-4e29-a734-57148d5f76a0", - "createdAt": "2023-11-21T23:38:50.678000+00:00", - "message": "(service api-on-ecs) (deployment ecs-svc/1385981980928187514) deployment completed." - }, - { - "id": "0afe9a9b-0423-4df7-b38a-49e13fb00745", - "createdAt": "2023-11-21T23:37:32.038000+00:00", - "message": "(service api-on-ecs) has stopped 1 running tasks: (task 682fcb49a24d488ea7e4ff6a8cd4e8fe)." - }, - { - "id": "575bae76-787c-4f3e-8175-b7f83a770658", - "createdAt": "2023-11-21T23:36:31.217000+00:00", - "message": "(service api-on-ecs) has started 1 tasks: (task fd72c4d95a2a46a09fb92ddb39412267)." - }, - { - "id": "a2d59b73-a47b-4157-bab4-6b318d5e33d8", - "createdAt": "2023-11-21T20:07:14.584000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "dd311b0b-e87e-4567-b88d-d8c5979df2d7", - "createdAt": "2023-11-21T14:06:48.831000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "e8d718ef-589a-41f3-ba55-05d85a3102d0", - "createdAt": "2023-11-21T08:06:22.959000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "785d3b8c-8787-43b9-8c79-d9e14e2e6d7b", - "createdAt": "2023-11-21T02:06:17.046000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "e6ac06ff-8eed-42e1-a452-e03b2b1f1e63", - "createdAt": "2023-11-20T20:06:13.608000+00:00", - "message": "(service api-on-ecs) has reached a steady state." - }, - { - "id": "1a424ce7-372e-428a-bd77-7b5f353b3cd4", - "createdAt": "2023-11-20T20:06:13.607000+00:00", - "message": "(service api-on-ecs) (deployment ecs-svc/0900799623266087110) deployment completed." - }, - { - "id": "7dbd8308-1459-478c-b3d0-b6741579b099", - "createdAt": "2023-11-20T20:05:44.457000+00:00", - "message": "(service api-on-ecs) has started 1 tasks: (task 682fcb49a24d488ea7e4ff6a8cd4e8fe)." - } - ], - "createdAt": "2023-11-20T20:05:42.123000+00:00", - "placementConstraints": [], - "placementStrategy": [], - "networkConfiguration": { - "awsvpcConfiguration": { - "subnets": [ - "subnet-0954312108c6f1365" - ], - "securityGroups": [ - "sg-0b034f6a64cf26051" - ], - "assignPublicIp": "ENABLED" - } - }, - "schedulingStrategy": "REPLICA", - "deploymentController": { - "type": "ECS" - }, - "createdBy": "arn:aws:iam::717408832317:user/prodvana-support-ecs", - "enableECSManagedTags": false, - "propagateTags": "TASK_DEFINITION", - "enableExecuteCommand": false - } - ], - "failures": [] -} diff --git a/task.json b/task.json deleted file mode 100644 index 836ca9f..0000000 --- a/task.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "taskDefinition": { - "taskDefinitionArn": "arn:aws:ecs:us-west-2:717408832317:task-definition/prodvana-demo-api:44", - "containerDefinitions": [ - { - "name": "api", - "image": "717408832317.dkr.ecr.us-west-2.amazonaws.com/demo_api:v4", - "cpu": 0, - "portMappings": [ - { - "containerPort": 3001, - "hostPort": 3001, - "protocol": "tcp" - } - ], - "essential": true, - "environment": [], - "mountPoints": [], - "volumesFrom": [] - } - ], - "family": "prodvana-demo-api", - "executionRoleArn": "arn:aws:iam::717408832317:role/ecsTaskExecutionRole", - "networkMode": "awsvpc", - "revision": 44, - "volumes": [], - "status": "ACTIVE", - "requiresAttributes": [ - { - "name": "com.amazonaws.ecs.capability.ecr-auth" - }, - { - "name": "ecs.capability.execution-role-ecr-pull" - }, - { - "name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" - }, - { - "name": "ecs.capability.task-eni" - } - ], - "placementConstraints": [], - "compatibilities": [ - "EC2", - "FARGATE" - ], - "requiresCompatibilities": [ - "FARGATE" - ], - "cpu": "256", - "memory": "512", - "registeredAt": "2023-11-29T18:08:57.009000+00:00", - "registeredBy": "arn:aws:iam::717408832317:user/local-testing-ecs-only" - }, - "tags": [ - { - "key": "my-custom-tag-with-value", - "value": "my-custom-tag-value" - }, - { - "key": "pvn:id", - "value": "svc-83f218eda28847bc82983fac11afde65" - }, - { - "key": "pvn:version", - "value": "api-on-ecs-4" - } - ] -}