diff --git a/infrastructure/database.tf b/infrastructure/database.tf index aae38b31..c0a1b8ac 100644 --- a/infrastructure/database.tf +++ b/infrastructure/database.tf @@ -167,6 +167,16 @@ resource "aws_iam_role_policy" "db_accessor_s3_policy" { "lambda:InvokeFunction" ], "Resource": ["*"] + }, + { + "Effect": "Allow", + "Action": [ + "ecs:ListTasks", + "ecs:DescribeTasks", + "ecs:ListClusters", + "ecs:DescribeClusters" + ], + "Resource": "*" } ] }