I am trying to set up a scheduled task using ECS Fargate, but I cannot understand why it is not running. I can confirm that the task works correctly using RunTask , but when I try to run it on schedule, all I get is a set of "FailedInvocations" without explanation.
However, I know that the rule works, so this is a good sign. See the screenshot below:

But every time it fires, it just happens “FailedInvocation”. Here is the planning rule:

And the default permissions for ecsEventRole only with ecs:runTask :

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ecs:RunTask" ], "Resource": [ "*" ] } ] }
My guess is that this ecsEventsRole does not have enough permissions. Should I try to give it the ones that ecsTaskExecutionRole ?
Thanks
UPDATE: This is now supported in the us-east-1 . See comments.
amazon-web-services scheduled-tasks amazon-ecs aws-fargate aws-ecs
coolboyjules
source share