Skip to content

Commit f6bed8d

Browse files
authored
Update main.tf
1 parent 68ea0a7 commit f6bed8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,15 @@ resource "google_iam_workload_identity_pool_provider" "provider" {
7070

7171
attribute_mapping = {
7272
"google.subject" = "assertion.sub"
73+
"attribute.sub" = "assertion.sub"
7374
"attribute.user_login" = "assertion.user_login"
7475
"attribute.repository" = "assertion.project_path"
75-
"attribute.branch" = "assertion.ref"
76+
"attribute.ref" = "assertion.ref"
7677
}
7778
oidc {
7879
allowed_audiences = [var.allowed_audiences]
7980
issuer_uri = var.issuer_uri
8081
}
8182

8283
depends_on = [google_iam_workload_identity_pool.pool]
83-
}
84+
}

0 commit comments

Comments
 (0)