Fala Lucas, obrigado pelas dicas, eu fiz tudo que me passou porém, ainda continuo com o mesmo erro : (,
esse é a definição da tarefa:
{
"family": "familia-tarefa-reverselog2",
"containerDefinitions": [
{
"name": "container-reverselog",
"image": "637423347486.dkr.ecr.us-east-1.amazonaws.com/reverselog:latest",
"cpu": 0,
"portMappings": [
{
"name": "container-reverselog-80-tcp",
"containerPort": 80,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [
{
"name": "DB_HOST",
"value": "database-reverselog.c3cao8me4xpt.us-east-1.rds.amazonaws.com"
},
{
"name": "DB_USERS",
"value": "root"
},
{
"name": "DB_PASSWORD",
"value": "Oliveirawiia3656"
}
],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/familia-tarefa-reverselog2",
"mode": "non-blocking",
"awslogs-create-group": "true",
"max-buffer-size": "25m",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
},
"systemControls": []
}
],
"taskRoleArn": "arn:aws:iam::637423347486:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::637423347486:role/ecsTaskExecutionRole",
"networkMode": "bridge",
"requiresCompatibilities": [
"EC2"
],
"cpu": "1024",
"memory": "3072",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
}
}