File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/workload_identity
modules/workload-identity Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ output "cluster_name" {
5656# Default instantiation of WI module
5757output "default_wi_email" {
5858 description = " GCP service account."
59- value = module. workload_identity . gcp_service_account_email
59+ value = module. workload_identity . gcp_service_account . email
6060}
6161
6262output "default_wi_ksa_name" {
Original file line number Diff line number Diff line change @@ -41,5 +41,5 @@ output "gcp_service_account_name" {
4141
4242output "gcp_service_account" {
4343 description = " GCP service account."
44- value = data. google_service_account . cluster_service_account
44+ value = var . use_existing_gcp_sa ? data. google_service_account . cluster_service_account [ 0 ] : google_service_account . cluster_service_account [ 0 ]
4545}
You can’t perform that action at this time.
0 commit comments