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/08/01 10:40:07 UTC

[incubator-dlab] branch DLAB-terraform updated: removed mongo password from output

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

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


The following commit(s) were added to refs/heads/DLAB-terraform by this push:
     new 25f80af  removed mongo password from output
25f80af is described below

commit 25f80af9ba3f14eb7344d10bf5fbaef5f45fcb40
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Thu Aug 1 13:39:57 2019 +0300

    removed mongo password from output
---
 .../terraform/aws/ssn-helm-charts/main/main.tf                    | 4 ----
 .../terraform/aws/ssn-k8s/main/auto_scaling_groups.tf             | 8 --------
 infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf    | 8 ++++++++
 3 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/main.tf b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/main.tf
index b8f4471..aa9282f 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/main.tf
+++ b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/main.tf
@@ -23,8 +23,4 @@ provider "helm" {
     namespace       = "kube-system"
     service_account = "tiller"
     tiller_image    = "gcr.io/kubernetes-helm/tiller:v2.14.1"
-}
-
-output "mongo_password" {
-    value = random_string.mongo_db_password.result
 }
\ No newline at end of file
diff --git a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/auto_scaling_groups.tf b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/auto_scaling_groups.tf
index f5de6fa..3141603 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/auto_scaling_groups.tf
+++ b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/auto_scaling_groups.tf
@@ -33,14 +33,6 @@ resource "random_string" "endpoint_keystore_password" {
   special = false
 }
 
-output "ssn_keystore_password" {
-  value = random_string.ssn_keystore_password.result
-}
-
-output "endpoint_keystore_password" {
-  value = random_string.endpoint_keystore_password.result
-}
-
 data "template_file" "ssn_k8s_masters_user_data" {
   template = file("./files/masters-user-data.sh")
   vars = {
diff --git a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf
index 14331a1..0f6cf81 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf
+++ b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf
@@ -60,4 +60,12 @@ output "endpoint_eip_allocation_id" {
 
 output "endpoint_eip_address" {
   value = aws_eip.k8s-endpoint-eip.public_ip
+}
+
+output "ssn_keystore_password" {
+  value = random_string.ssn_keystore_password.result
+}
+
+output "endpoint_keystore_password" {
+  value = random_string.endpoint_keystore_password.result
 }
\ 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