File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
terraform/modules/department Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,8 @@ data "aws_iam_policy_document" "read_glue_scripts_and_mwaa_and_athena" {
475475 " athena:GetQueryResults" ,
476476 " athena:ListDatabases" ,
477477 " athena:ListTableMetadata" ,
478- " athena:GetTableMetadata"
478+ " athena:GetTableMetadata" ,
479+ " athena:GetWorkGroup" ,
479480 ]
480481 resources = [" *" ]
481482 }
Original file line number Diff line number Diff line change @@ -152,3 +152,8 @@ resource "aws_iam_role_policy_attachment" "department_ecs_policy" {
152152 role = aws_iam_role. department_ecs_role . name
153153 policy_arn = aws_iam_policy. department_ecs_policy . arn
154154}
155+
156+ resource "aws_iam_role_policy_attachment" "glue_access_attachment_to_ecs_role" {
157+ role = aws_iam_role. department_ecs_role . name
158+ policy_arn = aws_iam_policy. glue_access . arn
159+ }
You can’t perform that action at this time.
0 commit comments