diff --git a/templates/nextflow-ecs-task-definition.j2 b/templates/nextflow-ecs-task-definition.j2 index ad26c0e..3cace33 100644 --- a/templates/nextflow-ecs-task-definition.j2 +++ b/templates/nextflow-ecs-task-definition.j2 @@ -183,6 +183,7 @@ Resources: TowerTask: Type: AWS::ECS::TaskDefinition Properties: + ExecutionRoleArn: !Sub 'arn:aws:iam::${AWS::AccountId}:role/EcsTaskExecutionRole' NetworkMode: bridge Volumes: - Name: !Ref EfsVolumeName