Skip to content

Commit

Permalink
Fix github action role
Browse files Browse the repository at this point in the history
  • Loading branch information
shri committed Aug 9, 2024
1 parent fa4ae48 commit 0270973
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/aws/tf/modules/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ resource "aws_iam_policy" "github_actions_policy" {
Action = [
"iam:PassRole"
],
Resource = "${aws_iam_role.ecs_task_execution_role.arn}"
Resource = [
"${aws_iam_role.ecs_task_execution_role.arn}",
"${aws_iam_role.ecs_task_role.arn}"
]
}
]
})
Expand Down

0 comments on commit 0270973

Please sign in to comment.