Last active
May 10, 2020 22:34
-
-
Save MartinDevillers/8a81e1ee47f867e2e93d52d6d43b2f85 to your computer and use it in GitHub Desktop.
π ECS Fargate Task Metadata Endpoint version 4 response now includes AZ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Cluster": "arn:aws:ecs:us-west-1:727690555089:cluster/martins-amazing-cluster", | |
"TaskARN": "arn:aws:ecs:us-west-1:727690555089:task/33d0f530-3e32-4bce-b55d-564887d1bf46", | |
"Family": "martins-amazing-definition", | |
"Revision": "20", | |
"DesiredStatus": "RUNNING", | |
"KnownStatus": "NONE", | |
"Limits": { | |
"CPU": 0.25, | |
"Memory": 512 | |
}, | |
"PullStartedAt": "2020-04-09T01:19:33.426202816Z", | |
"PullStoppedAt": "2020-04-09T01:19:35.212125225Z", | |
"AvailabilityZone": "us-west-1c", | |
"Containers": [{ | |
"DockerId": "33d0f530-3e32-4bce-b55d-564887d1bf46martins-amazing-container", | |
"Name": "martins-amazing-container", | |
"DockerName": "martins-amazing-container", | |
"Image": "curlimages/curl:latest", | |
"ImageID": "sha256:aa45e9d93122a3cfdf8d7de272e2798ea63733eeee6d06bd2ee4f2f8c4027d7c", | |
"Labels": { | |
"com.amazonaws.ecs.cluster": "arn:aws:ecs:us-west-1:727690555089:cluster/martins-amazing-cluster", | |
"com.amazonaws.ecs.container-name": "martins-amazing-container", | |
"com.amazonaws.ecs.task-arn": "arn:aws:ecs:us-west-1:727690555089:task/33d0f530-3e32-4bce-b55d-564887d1bf46", | |
"com.amazonaws.ecs.task-definition-family": "martins-amazing-definition", | |
"com.amazonaws.ecs.task-definition-version": "20" | |
}, | |
"DesiredStatus": "RUNNING", | |
"KnownStatus": "PULLED", | |
"Limits": { | |
"CPU": 0 | |
}, | |
"Type": "NORMAL", | |
"Networks": [{ | |
"NetworkMode": "awsvpc", | |
"IPv4Addresses": ["172.31.2.102"], | |
"AttachmentIndex": 0, | |
"IPv4SubnetCIDRBlock": "172.31.0.0/20", | |
"MACAddress": "06:f8:f1:33:16:19", | |
"DomainNameServers": ["172.31.0.2"], | |
"DomainNameSearchList": ["us-west-1.compute.internal"], | |
"PrivateDNSName": "ip-172-31-2-102.us-west-1.compute.internal", | |
"SubnetGatewayIpv4Address": "" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment