Suddenly getting the message " ResourceInitializationError: failed to validate logger args: : signal: killed" while starting AWS ECS Fargate Service. Same service was running fine couple of days back.
Following is log driver configurations in related aws task:
Log Configuration
Log driver: awslogs
Key Value
awslogs-group /ecs/analytics
awslogs-region us-east-1
awslogs-stream-prefix ecs
Any idea or help?
Came across this issue today. The issue was that the log group I specified didn't exist yet. If you don't want to manually create it, make sure to add the
awslogs-create-group
and set it to"true"
. You'll have to grant your ECS Task Execution role alogs:CreateLogGroup
permission as well.Reference: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html