Skip to content

Commit e022bde

Browse files
committed
Changed rights on policy to enable repo creation from GHA instead of scaffolder
Signed-off-by: jayonthenet <clemens@humanitec.com>
1 parent adea5ff commit e022bde

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/with-backstage/aws-github.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ resource "aws_iam_policy" "ecr_push_policy" {
4242
"ecr:UploadLayerPart",
4343
"ecr:InitiateLayerUpload",
4444
"ecr:BatchCheckLayerAvailability",
45-
"ecr:PutImage"
45+
"ecr:PutImage",
46+
"ecr:DescribeRepositories",
47+
"ecr:CreateRepository"
4648
]
4749
Effect = "Allow"
4850
Resource = "*"

0 commit comments

Comments
 (0)