From 7b6b0d650a175bf147ebe888655bc6a2e0f755fc Mon Sep 17 00:00:00 2001 From: Avrohom Gottlieb Date: Wed, 25 Sep 2024 17:18:32 -0400 Subject: [PATCH] update ecs_task role name --- infrastructure/batch/roles.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/batch/roles.tf b/infrastructure/batch/roles.tf index 605dc465..4e4f7a1b 100644 --- a/infrastructure/batch/roles.tf +++ b/infrastructure/batch/roles.tf @@ -22,7 +22,7 @@ resource "aws_iam_role_policy_attachment" "batch_service_role" { policy_arn = "arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole" } -resource "aws_iam_role" "ecs_task_role" { +resource "aws_iam_role" "ecs_task_execution_role" { name = "scpca-portal-ecs-task-role-${var.user}-${var.stage}" assume_role_policy = <