Skip to content

Commit

Permalink
Updated policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Jul 29, 2024
1 parent ad3f988 commit 7b7ddc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions infrastructure/cloud/modules/security/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ resource "aws_iam_role_policy" "ecs_web_task_execution_policy" {
Action = [
"ecr:BatchGetImage",
"ecr:GetDownloadUrlForLayer",
"ecr:GetAuthorizationToken"
"ecr:GetAuthorizationToken",
"ecr:BatchCheckLayerAvailability"
]
Resource = var.ecs_web_task_definition_arn
Resource = "*"
}
]
})
Expand Down

0 comments on commit 7b7ddc4

Please sign in to comment.