Skip to content

Commit

Permalink
Modified outputs as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
alkaline-0 committed Mar 12, 2024
1 parent 8b62a09 commit f8b09de
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
output "cluster_id" {
description = "an identifier for the resource with format projects/{{project}}/locations/{{zone}}/clusters/{{name}}"
value = module.gke.id
value = module.gke.cluster_id
}

output "cluster_master_version" {
description = "The current version of the master in the cluster. This may be different than the min_master_version set in the config if the master has been updated by GKE."
value = module.gke.master_version
}

output "client_certificate" {
description = "Base64 encoded public certificate used by clients to authenticate to the Kubernetes cluster."
value = module.gke.master_auth.0.client_certificate
sensitive = true
}

output "client_key" {
description = "Base64 encoded private key used by clients to authenticate to the cluster endpoint."
value = module.gke.master_auth.0.client_key
sensitive = true
}

output "cluster_ca_certificate" {
description = "Base64 encoded public certificate that is the root certificate of the cluster."
value = module.gke.master_auth.0.cluster_ca_certificate
value = module.gke.ca_certificate
sensitive = true
}

output "endpoint" {
description = "The IP address of this cluster's Kubernetes master."
value = module.gke.endpoint
}
}

0 comments on commit f8b09de

Please sign in to comment.