{ "requiresCompatibilities": [ "FARGATE" ], "containerDefinitions": [ { "image": "sumologic/aws:latest", "name": "log_router_sumo", "memory": 100, "essential": true, "firelensConfiguration": { "type": "fluentbit", "options": { "enable-ecs-log-metadata": "true", "config-file-type": "file", "config-file-value": "/fluent-bit/etc/custom/fluent-bit-custom.conf" } }, "logConfiguration": { "logDriver": "awslogs", "options": { "awslogs-group": "awslogs-ecs-fargate-sumo", "awslogs-region": "us-west-1", "awslogs-stream-prefix": "awslogs-ecs-fargate-sumo" } } }, { "essential": true, "image": "httpd", "name": "app", "portMappings": [ { "containerPort": 80, "hostPort": 80, "protocol": "tcp" } ], "entryPoint": [ "sh", "-c" ], "command": [ "/bin/sh -c \"echo ' Amazon ECS Sample App

Amazon ECS Sample App

Congratulations!

Your application is now running on a container in Amazon ECS.

' > /usr/local/apache2/htdocs/index.html && httpd-foreground\"" ], "logConfiguration": { "logDriver":"awsfirelens" }, "memory": 100 } ], "family": "firelens-sumo-fargate-external-config-custom-image", "executionRoleArn": "arn:aws:iam:::role/ecsTaskExecutionRole", "cpu": "256", "memory": "512", "volumes": [], "placementConstraints": [], "taskRoleArn": "arn:aws:iam:::role/ecs_task_iam_role", "networkMode": "awsvpc" }