You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/09/10 07:45:08 UTC

[incubator-dlab] branch DLAB-1086 updated: testing output

This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-1086
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1086 by this push:
     new 2f3d36d  testing output
2f3d36d is described below

commit 2f3d36dc73baf93865ebf57e1fd6a202742fccfc
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Tue Sep 10 10:44:59 2019 +0300

    testing output
---
 .../terraform/gcp/ssn-gke/main/gke.tf              | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/gke.tf b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/gke.tf
index 4b910e6..993de02 100644
--- a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/gke.tf
+++ b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/gke.tf
@@ -80,4 +80,29 @@ resource "google_container_node_pool" "ssn_k8s_gke_node_pool" {
       "https://www.googleapis.com/auth/monitoring",
     ]
   }
+}
+
+data "google_container_cluster" "ssn_k8s_gke_cluster" {
+  name       = local.gke_name
+  location   = var.region
+}
+
+output "cluster_username" {
+  value = "${data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.username}"
+}
+
+output "cluster_password" {
+  value = "${data.google_container_cluster.ssn_k8s_gke_cluster.master_auth.0.password}"
+}
+
+output "endpoint" {
+  value = "${data.google_container_cluster.ssn_k8s_gke_cluster.endpoint}"
+}
+
+output "instance_group_urls" {
+  value = "${data.google_container_cluster.ssn_k8s_gke_cluster.instance_group_urls}"
+}
+
+output "node_config" {
+  value = "${data.google_container_cluster.ssn_k8s_gke_cluster.node_config}"
 }
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org