Skip to content

Commit d72e595

Browse files
authored
fix: Use provided gcp_given_name for workload identity (terraform-google-modules#1003)
Fixes terraform-google-modules#1002
1 parent bc41a98 commit d72e595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/workload-identity/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ locals {
3232
data "google_service_account" "cluster_service_account" {
3333
count = var.use_existing_gcp_sa ? 1 : 0
3434

35-
account_id = var.name
35+
account_id = local.gcp_given_name
3636
project = var.project_id
3737
}
3838

0 commit comments

Comments
 (0)