Skip to content

Instantly share code, notes, and snippets.

@ianmas-aws
Created April 19, 2018 20:29
Show Gist options
  • Save ianmas-aws/9bd19bf5d8a0be8b10788824ecfdc076 to your computer and use it in GitHub Desktop.
Save ianmas-aws/9bd19bf5d8a0be8b10788824ecfdc076 to your computer and use it in GitHub Desktop.
{
"executionRoleArn": "arn:aws:iam::<<ACCOUNT_NUMBER>>:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"dnsSearchDomains": null,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/es-proxy",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
},
"entryPoint": null,
"portMappings": [
{
"hostPort": 9200,
"protocol": "tcp",
"containerPort": 9200
}
],
"command": [
"./aws-es-proxy",
"-verbose",
"-endpoint",
"https://<<CLUSTER_ENDPOINT>>",
"-listen",
"0.0.0.0:9200"
],
"linuxParameters": null,
"cpu": 0,
"environment": [],
"ulimits": null,
"dnsServers": null,
"mountPoints": [],
"workingDirectory": null,
"dockerSecurityOptions": null,
"memory": null,
"memoryReservation": null,
"volumesFrom": [],
"image": "abutaha/aws-es-proxy",
"disableNetworking": null,
"healthCheck": null,
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"privileged": null,
"name": "es-proxy"
}
],
"placementConstraints": [],
"memory": "1024",
"taskRoleArn": "arn:aws:iam::ACCOUNT_NUMBER:role/ESProxyContainer",
"compatibilities": [
"EC2",
"FARGATE"
],
"taskDefinitionArn": "arn:aws:ecs:us-east-1:ACCOUNT_NUMBER:task-definition/es-proxy:7",
"family": "es-proxy",
"requiresAttributes": [
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "ecs.capability.task-eni"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.task-iam-role"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "ecs.capability.execution-role-awslogs"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
}
],
"requiresCompatibilities": [
"FARGATE"
],
"networkMode": "awsvpc",
"cpu": "512",
"revision": 7,
"status": "ACTIVE",
"volumes": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment