Skip to content

Instantly share code, notes, and snippets.

@nathanpeck
Created May 31, 2019 20:19
Show Gist options
  • Save nathanpeck/d1b274ff63910ca5af38ab8f2ad0d233 to your computer and use it in GitHub Desktop.
Save nathanpeck/d1b274ff63910ca5af38ab8f2ad0d233 to your computer and use it in GitHub Desktop.
{
"version": "0",
"id": "16bd6507-21ed-3ab0-78d1-f0c546ba54c2",
"detail-type": "ECS Task State Change",
"source": "aws.ecs",
"account": "209640446841",
"time": "2019-05-31T19:17:34Z",
"region": "us-east-2",
"resources": [
"arn:aws:ecs:us-east-2:209640446841:task/344b1ff0-b9c8-43d6-b7ba-73eccaae0f66"
],
"detail": {
"clusterArn": "arn:aws:ecs:us-east-2:209640446841:cluster/base-resources-cluster611F8AFF-UOK88Z5FWC73",
"containers": [
{
"containerArn": "arn:aws:ecs:us-east-2:209640446841:container/c586b18c-30b9-40ee-9f04-c3e771a9770c",
"lastStatus": "RUNNING",
"name": "api-container",
"taskArn": "arn:aws:ecs:us-east-2:209640446841:task/344b1ff0-b9c8-43d6-b7ba-73eccaae0f66",
"networkInterfaces": [
{
"attachmentId": "d9fd3eab-4ab2-4def-ad54-4b8b3dfe09da",
"privateIpv4Address": "10.0.200.176"
}
],
"cpu": "256",
"memory": "512"
}
],
"createdAt": "2019-05-31T19:05:50.617Z",
"launchType": "FARGATE",
"cpu": "256",
"memory": "512",
"desiredStatus": "STOPPED",
"group": "service:api-apiServiceFF703CB9-NJDGNWBYOZVB",
"lastStatus": "RUNNING",
"overrides": {
"containerOverrides": [
{
"name": "api-container"
}
]
},
"attachments": [
{
"id": "d9fd3eab-4ab2-4def-ad54-4b8b3dfe09da",
"type": "eni",
"status": "ATTACHED",
"details": [
{
"name": "subnetId",
"value": "subnet-0357ef8d2c576b6f1"
},
{
"name": "networkInterfaceId",
"value": "eni-05ba325ab95027647"
},
{
"name": "macAddress",
"value": "06:4a:7b:3d:b6:06"
},
{
"name": "privateIPv4Address",
"value": "10.0.200.176"
}
]
}
],
"connectivity": "CONNECTED",
"connectivityAt": "2019-05-31T19:05:53.945Z",
"pullStartedAt": "2019-05-31T19:06:29.733Z",
"startedAt": "2019-05-31T19:06:36.733Z",
"startedBy": "ecs-svc/9223370477608417170",
"stoppingAt": "2019-05-31T19:17:34.387Z",
"pullStoppedAt": "2019-05-31T19:06:34.733Z",
"stoppedReason": "Task stopped by user",
"stopCode": "UserInitiated",
"updatedAt": "2019-05-31T19:17:34.387Z",
"taskArn": "arn:aws:ecs:us-east-2:209640446841:task/344b1ff0-b9c8-43d6-b7ba-73eccaae0f66",
"taskDefinitionArn": "arn:aws:ecs:us-east-2:209640446841:task-definition/apiapidefinitionEC326528:8",
"version": 4,
"platformVersion": "1.3.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment