File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ Attribute mapping:
6767| ------------------------| -------------------------------------------------------|
6868| ` google.subject ` | ` assertion.sub ` |
6969| ` attribute.sub ` | ` assertion.sub ` |
70- | ` attribute.actor ` | ` assertion.actor ` |
7170| ` attribute.repository ` | ` assertion.project_path ` (not ` assertion.repository ` ) |
71+ | ` attribute.user_login ` | ` assertion.user_login ` |
72+ | ` attribute.ref ` | ` assertion.ref ` |
7273
7374<!-- BEGIN_TF_DOCS -->
7475## Providers
Original file line number Diff line number Diff 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" = " attribute .sub"
74- " attribute.actor " = " assertion.actor "
73+ " attribute.sub" = " assertion .sub"
74+ " attribute.user_login " = " assertion.user_login "
7575 " attribute.repository" = " assertion.project_path"
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+ }
You can’t perform that action at this time.
0 commit comments