Skip to content

Commit b7e7a19

Browse files
committed
Remove asterisks for both private and public ECRs
1 parent ec74e03 commit b7e7a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private-ecr-upload-credentials/credentials.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Transition: both the 'old style' user with access key, and 'new style' github actions role with github idp
22

33
resource "aws_iam_role" "github_actions_role" {
4-
name = "gh_ecr_push_${var.ecr_repository_name}"
4+
name = replace("gh_ecr_push_${var.ecr_repository_name}", "*", "")
55

66
assume_role_policy = jsonencode({
77
Version = "2012-10-17",

0 commit comments

Comments
 (0)