From b47411f020c563393648e866bc6b5a0dcf7d063b Mon Sep 17 00:00:00 2001 From: Brad Sickles Date: Sat, 10 Feb 2024 10:02:22 -0500 Subject: [PATCH] Added permissions to list image tags in image repository. (#16) --- CHANGELOG.md | 3 +++ pusher.tf | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07b5599..4b9490a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 0.4.11 (Feb 10, 2024) +* Added permissions to list image tags in image repository. + # 0.4.10 (Feb 06, 2024) * Added support for metrics in capabilities. diff --git a/pusher.tf b/pusher.tf index b82c64e..9c5759e 100644 --- a/pusher.tf +++ b/pusher.tf @@ -27,7 +27,9 @@ data "aws_iam_policy_document" "image_pusher" { "ecr:PutImage", "ecr:InitiateLayerUpload", "ecr:UploadLayerPart", - "ecr:CompleteLayerUpload" + "ecr:CompleteLayerUpload", + "ecr:DescribeImages", + "ecr:ListImages", ] resources = [aws_ecr_repository.this.arn]