Skip to content

Commit

Permalink
fix for CKV_AWS_355
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Nov 27, 2024
1 parent 7bc2550 commit 9700426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/ecs_iam_roles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ resource "aws_iam_policy" "ecr_access_policy" {
"ecr:GetDownloadUrlForLayer",
"ecr:BatchGetImage"
]
Resource = "*"
Resource = "arn:aws:ecr:${var.region}:${local.ecr_hosting_account}:repository/*"
},
{
Effect = "Allow"
Expand Down

0 comments on commit 9700426

Please sign in to comment.