From a09ae3997895743975e4c7800a92723efc7475da Mon Sep 17 00:00:00 2001 From: Carl Sixsmith Date: Wed, 21 Jan 2026 13:30:36 +0000 Subject: [PATCH] Adds sqlpackage and task role ARN Adds the Microsoft SqlPackage tool as a local tool to the repository. Adds a task role ARN to the ECS task definition. This allows the task to assume the specified IAM role and access AWS resources. This addition enables the task to have the necessary permissions for deployment. --- dotnet-tools.json | 13 +++++++++++++ infra/dms-visualiser-task-def.json | 1 + 2 files changed, 14 insertions(+) create mode 100644 dotnet-tools.json diff --git a/dotnet-tools.json b/dotnet-tools.json new file mode 100644 index 0000000..d1433bd --- /dev/null +++ b/dotnet-tools.json @@ -0,0 +1,13 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "microsoft.sqlpackage": { + "version": "170.2.70", + "commands": [ + "sqlpackage" + ], + "rollForward": false + } + } +} \ No newline at end of file diff --git a/infra/dms-visualiser-task-def.json b/infra/dms-visualiser-task-def.json index c135601..a9f25ac 100644 --- a/infra/dms-visualiser-task-def.json +++ b/infra/dms-visualiser-task-def.json @@ -35,6 +35,7 @@ } ], "family": "dms-visualiser-task", + "taskRoleArn": "arn:aws:iam::035941410605:role/DMS-PreProd_ecs_task_role", "executionRoleArn": "ecsTaskExecutionRole", "networkMode": "awsvpc", "revision": 6,