Skip to content

Commit 1ca3c9d

Browse files
Adds sqlpackage and task role ARN (#77)
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.
1 parent e341a4f commit 1ca3c9d

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"microsoft.sqlpackage": {
6+
"version": "170.2.70",
7+
"commands": [
8+
"sqlpackage"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

infra/dms-visualiser-task-def.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
}
3636
],
3737
"family": "dms-visualiser-task",
38+
"taskRoleArn": "arn:aws:iam::035941410605:role/DMS-PreProd_ecs_task_role",
3839
"executionRoleArn": "ecsTaskExecutionRole",
3940
"networkMode": "awsvpc",
4041
"revision": 6,

0 commit comments

Comments
 (0)