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,54 @@
|
||||
{
|
||||
"taskDefinition": {
|
||||
"taskDefinitionArn": "arn:aws:ecs:us-east-1:123456789012:task-definition/console-sample-app-static2:1",
|
||||
"containerDefinitions": [
|
||||
{
|
||||
"name": "simple-app",
|
||||
"image": "httpd:2.4",
|
||||
"cpu": 10,
|
||||
"memory": 300,
|
||||
"essential": true,
|
||||
"command": [
|
||||
"httpd-foreground"
|
||||
],
|
||||
"environment": [
|
||||
{
|
||||
"name": "HTTPD_PORT",
|
||||
"value": "80"
|
||||
}
|
||||
],
|
||||
"secrets": [
|
||||
{
|
||||
"name": "API_TOKEN",
|
||||
"valueFrom": "arn:aws:secretsmanager:us-east-1:123456789012:secret:api-token-AbCdEf"
|
||||
}
|
||||
],
|
||||
"mountPoints": [
|
||||
{
|
||||
"sourceVolume": "www",
|
||||
"containerPath": "/usr/local/apache2/htdocs",
|
||||
"readOnly": true
|
||||
}
|
||||
],
|
||||
"portMappings": [
|
||||
{
|
||||
"containerPort": 80,
|
||||
"hostPort": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"family": "console-sample-app-static2",
|
||||
"revision": 1,
|
||||
"volumes": [],
|
||||
"status": "ACTIVE",
|
||||
"placementConstraints": [],
|
||||
"compatibilities": [
|
||||
"EXTERNAL",
|
||||
"EC2"
|
||||
],
|
||||
"registeredAt": "2024-06-21T11:15:12.669000-05:00",
|
||||
"registeredBy": "arn:aws:sts::012345678910:assumed-role/demo-role/jane-doe"
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
Reference in new issue
Block a user