verify-layer: cloud exports (AWS ECS/EC2/Lambda, Azure VMs/Container Instances/Container Apps/Web Apps, GCP Compute Engine/Cloud Run) read from the operator's own CLI export, never from an account; fixtures derived from the vendors' documented examples; a real account is unmeasured and the README says so
This commit is contained in:
1 parent
ea695dcf32
commit
ac14880703
49 files changed
+10080
-17
No files matched your search
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"tasks": [
|
||||
{
|
||||
"attachments": [],
|
||||
"attributes": [
|
||||
{
|
||||
"name": "ecs.cpu-architecture",
|
||||
"value": "x86_64"
|
||||
}
|
||||
],
|
||||
"availabilityZone": "us-east-1b",
|
||||
"clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
|
||||
"connectivity": "CONNECTED",
|
||||
"connectivityAt": "2021-08-11T12:21:26.681000-04:00",
|
||||
"containerInstanceArn": "arn:aws:ecs:us-east-1:123456789012:container-instance/test/025c7e2c5e054a6790a29fc1fEXAMPLE",
|
||||
"containers": [
|
||||
{
|
||||
"containerArn": "arn:aws:ecs:us-east-1:123456789012:container/MyCluster/4d590253bb114126b7afa7b58eea9221/a992d1cc-ea46-474a-b6e8-24688EXAMPLE",
|
||||
"taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/4d590253bb114126b7afa7b58EXAMPLE",
|
||||
"name": "simple-app",
|
||||
"image": "httpd:2.4",
|
||||
"runtimeId": "91251eed27db90006ad67b1a08187290869f216557717dd5c39b37c94EXAMPLE",
|
||||
"lastStatus": "RUNNING",
|
||||
"networkBindings": [
|
||||
{
|
||||
"bindIP": "0.0.0.0",
|
||||
"containerPort": 80,
|
||||
"hostPort": 80,
|
||||
"protocol": "tcp"
|
||||
}
|
||||
],
|
||||
"networkInterfaces": [],
|
||||
"healthStatus": "UNKNOWN",
|
||||
"cpu": "10",
|
||||
"memory": "300"
|
||||
}
|
||||
],
|
||||
"cpu": "10",
|
||||
"createdAt": "2021-08-11T12:21:26.681000-04:00",
|
||||
"desiredStatus": "RUNNING",
|
||||
"enableExecuteCommand": false,
|
||||
"group": "service:testupdate",
|
||||
"healthStatus": "UNKNOWN",
|
||||
"lastStatus": "RUNNING",
|
||||
"launchType": "EC2",
|
||||
"memory": "300",
|
||||
"overrides": {
|
||||
"containerOverrides": [
|
||||
{
|
||||
"name": "simple-app"
|
||||
}
|
||||
],
|
||||
"inferenceAcceleratorOverrides": []
|
||||
},
|
||||
"pullStartedAt": "2021-08-11T12:21:28.234000-04:00",
|
||||
"pullStoppedAt": "2021-08-11T12:21:33.793000-04:00",
|
||||
"startedAt": "2021-08-11T12:21:34.945000-04:00",
|
||||
"startedBy": "ecs-svc/968695068243EXAMPLE",
|
||||
"tags": [],
|
||||
"taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/4d590253bb114126b7afa7b58eea9221",
|
||||
"taskDefinitionArn": "arn:aws:ecs:us-east-1:123456789012:task-definition/console-sample-app-static2:1",
|
||||
"version": 2
|
||||
},
|
||||
{
|
||||
"attachments": [],
|
||||
"attributes": [
|
||||
{
|
||||
"name": "ecs.cpu-architecture",
|
||||
"value": "x86_64"
|
||||
}
|
||||
],
|
||||
"availabilityZone": "us-east-1b",
|
||||
"clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster",
|
||||
"connectivity": "CONNECTED",
|
||||
"connectivityAt": "2021-08-11T12:21:26.681000-04:00",
|
||||
"containerInstanceArn": "arn:aws:ecs:us-east-1:123456789012:container-instance/test/025c7e2c5e054a6790a29fc1fEXAMPLE",
|
||||
"containers": [
|
||||
{
|
||||
"containerArn": "arn:aws:ecs:us-east-1:123456789012:container/MyCluster/4d590253bb114126b7afa7b58eea9221/a992d1cc-ea46-474a-b6e8-24688EXAMPLE",
|
||||
"taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/4d590253bb114126b7afa7b58EXAMPLE",
|
||||
"name": "simple-app",
|
||||
"image": "httpd:2.4",
|
||||
"runtimeId": "91251eed27db90006ad67b1a08187290869f216557717dd5c39b37c94EXAMPLE",
|
||||
"lastStatus": "STOPPED",
|
||||
"networkBindings": [
|
||||
{
|
||||
"bindIP": "0.0.0.0",
|
||||
"containerPort": 80,
|
||||
"hostPort": 80,
|
||||
"protocol": "tcp"
|
||||
}
|
||||
],
|
||||
"networkInterfaces": [],
|
||||
"healthStatus": "UNKNOWN",
|
||||
"cpu": "10",
|
||||
"memory": "300",
|
||||
"exitCode": 0
|
||||
}
|
||||
],
|
||||
"cpu": "10",
|
||||
"createdAt": "2021-08-11T12:21:26.681000-04:00",
|
||||
"desiredStatus": "STOPPED",
|
||||
"enableExecuteCommand": false,
|
||||
"group": "service:testupdate",
|
||||
"healthStatus": "UNKNOWN",
|
||||
"lastStatus": "STOPPED",
|
||||
"launchType": "EC2",
|
||||
"memory": "300",
|
||||
"overrides": {
|
||||
"containerOverrides": [
|
||||
{
|
||||
"name": "simple-app"
|
||||
}
|
||||
],
|
||||
"inferenceAcceleratorOverrides": []
|
||||
},
|
||||
"pullStartedAt": "2021-08-11T12:21:28.234000-04:00",
|
||||
"pullStoppedAt": "2021-08-11T12:21:33.793000-04:00",
|
||||
"startedAt": "2021-08-11T12:21:34.945000-04:00",
|
||||
"startedBy": "ecs-svc/968695068243EXAMPLE",
|
||||
"tags": [],
|
||||
"taskArn": "arn:aws:ecs:us-east-1:123456789012:task/MyCluster/0000000000000000000000oprita",
|
||||
"taskDefinitionArn": "arn:aws:ecs:us-east-1:123456789012:task-definition/console-sample-app-static2:1",
|
||||
"version": 2,
|
||||
"stoppedReason": "Essential container in task exited"
|
||||
}
|
||||
],
|
||||
"failures": []
|
||||
}
|
||||
Reference in new issue
Block a user