Hi, I am deploying a service with the ecs-cli console. from my local console the service is deployed perfectly, I integrated the same command but from a pipeline in azure devops but for some reason the task-role remains empty I don't know what could be happening.
ecs-params.yml
version: 1
task_definition:
ecs_network_mode: bridge
task_role_arn: arn:aws:iam::xxxxxx:role/analitica-test-prescriptiva-ecs-role
task_execution_role: arn:aws:iam::xxxxxxx:role/analitica-test-prescriptiva-ecs-role
services:
task_auth:
cpu_shares: 0
mem_reservation: 134217728
docker-compose.yml
version: '3'
services:
task_core:
image: <URL_IMAGE>
ports:
- "8001:8001"
logging:
driver: awslogs
options:
awslogs-group: /ecs/core_service
awslogs-region: us-east-1
awslogs-stream-prefix: ecs
ecs-cli compose --project-name testecs --file docker-compose.yml service up --task-role-arn arn:aws:iam::xxxxxxx:role/analitica-test-prescriptiva-ecs-role --target-group-arn arn:aws:elasticloadbalancing:us-east-1:xxxxxxxxxx:targetgroup/xxxxxxxxx --deployment-max-percent 200 --deployment-min-healthy-percent 100 --disable-ecs-managed-tags --health-check-grace-period 0 --scheduling-strategy REPLICA --container-name task_auth --container-port 8001 --role arn:aws:iam::xxxxxxxxx:role/analitica-test-prescriptiva-ecs-role --cluster analitica-test-prescriptiva-ecs