From 0010cf1ce17b735f67e6d7eb26d06985d2d48bab Mon Sep 17 00:00:00 2001 From: bwmac Date: Fri, 21 Jun 2024 14:57:25 -0600 Subject: [PATCH 1/3] adds new iam role --- templates/nextflow-ecs-task-definition.j2 | 1 + 1 file changed, 1 insertion(+) 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 From 843c48de6e7f9eef7bb7a71bae4ff0f4db09db6a Mon Sep 17 00:00:00 2001 From: bwmac Date: Mon, 24 Jun 2024 09:54:40 -0600 Subject: [PATCH 2/3] lower case 'e' --- templates/nextflow-ecs-task-definition.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nextflow-ecs-task-definition.j2 b/templates/nextflow-ecs-task-definition.j2 index 3cace33..779aabe 100644 --- a/templates/nextflow-ecs-task-definition.j2 +++ b/templates/nextflow-ecs-task-definition.j2 @@ -183,7 +183,7 @@ Resources: TowerTask: Type: AWS::ECS::TaskDefinition Properties: - ExecutionRoleArn: !Sub 'arn:aws:iam::${AWS::AccountId}:role/EcsTaskExecutionRole' + executionRoleArn: !Sub 'arn:aws:iam::${AWS::AccountId}:role/EcsTaskExecutionRole' NetworkMode: bridge Volumes: - Name: !Ref EfsVolumeName From 923ffebe8cf0ee568b4e58a838c58943c8985f15 Mon Sep 17 00:00:00 2001 From: bwmac Date: Mon, 24 Jun 2024 10:05:59 -0600 Subject: [PATCH 3/3] revert --- templates/nextflow-ecs-task-definition.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nextflow-ecs-task-definition.j2 b/templates/nextflow-ecs-task-definition.j2 index 779aabe..3cace33 100644 --- a/templates/nextflow-ecs-task-definition.j2 +++ b/templates/nextflow-ecs-task-definition.j2 @@ -183,7 +183,7 @@ Resources: TowerTask: Type: AWS::ECS::TaskDefinition Properties: - executionRoleArn: !Sub 'arn:aws:iam::${AWS::AccountId}:role/EcsTaskExecutionRole' + ExecutionRoleArn: !Sub 'arn:aws:iam::${AWS::AccountId}:role/EcsTaskExecutionRole' NetworkMode: bridge Volumes: - Name: !Ref EfsVolumeName