😺
aws ecs register-task-definition時のエラーについて
aws ecs register-task-definition
時、
An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Fargate requires task definition to have execution role ARN to support log driver awslogs.
が出たら、
aws ecs register-task-definition
の引数に渡した定義ファイルに
"executionRoleArn": "arn:aws:iam::XXXXXXXX:role/ecsTaskExecutionRole"
の記載忘れが無いかをチェック。
Discussion