Skip to content

Commit

Permalink
Fix resource in github action policy
Browse files Browse the repository at this point in the history
  • Loading branch information
shri committed Aug 9, 2024
1 parent 4823ee5 commit fa4ae48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/aws/tf/modules/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ resource "aws_iam_policy" "github_actions_policy" {
"ecs:RegisterTaskDefinition"
],
Resource = "*"
},
{
Effect = "Allow",
Action = [
"iam:PassRole"
],
Resource = "${aws_iam_role.ecs_task_execution_role.arn}"
}
]
})
Expand Down

0 comments on commit fa4ae48

Please sign in to comment.