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" {
56
56
# Default instantiation of WI module
57
57
output "default_wi_email" {
58
58
description = " GCP service account."
59
- value = module. workload_identity . gcp_service_account_email
59
+ value = module. workload_identity . gcp_service_account . email
60
60
}
61
61
62
62
output "default_wi_ksa_name" {
Original file line number Diff line number Diff line change @@ -41,5 +41,5 @@ output "gcp_service_account_name" {
41
41
42
42
output "gcp_service_account" {
43
43
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 ]
45
45
}
You can’t perform that action at this time.
0 commit comments