Skip to content

Commit

Permalink
update iam.tf to allow for custom ECR repo arn
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewchees authored and baolsen committed Dec 11, 2024
1 parent 8e291f1 commit 975cb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ data "aws_iam_policy_document" "ecr_required" {
"ecr:GetAuthorizationToken"
]
resources = [
aws_ecr_repository.this[0].arn,
"arn:aws:ecr:${local.aws_region}:${local.aws_account_id}:repository/${local.ecr_repository_name}",
]
}

Expand Down

0 comments on commit 975cb80

Please sign in to comment.