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:14:57 UTC

[incubator-dlab] branch DLAB-terraform updated: removed Mongo listener

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 15adce0  removed Mongo listener
15adce0 is described below

commit 15adce0276dddcece3ab58843a25e64796bc1416
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Thu Aug 1 13:14:48 2019 +0300

    removed Mongo listener
---
 .../terraform/aws/ssn-k8s/main/lb.tf                | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/lb.tf b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/lb.tf
index 3643a65..8fc5dee 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/lb.tf
+++ b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/lb.tf
@@ -52,16 +52,6 @@ resource "aws_lb_target_group" "ssn_k8s_nlb_api_target_group" {
   }
 }
 
-resource "aws_lb_target_group" "ssn_k8s_nlb_mongo_target_group" {
-  name     = "${var.service_base_name}-ssn-nlb-mongo-tg"
-  port     = 31017
-  protocol = "TCP"
-  vpc_id   = data.aws_vpc.ssn_k8s_vpc_data.id
-  tags = {
-    Name = "${var.service_base_name}-ssn-nlb-mongo-tg"
-  }
-}
-
 resource "aws_lb_target_group" "ssn_k8s_alb_target_group" {
   name     = "${var.service_base_name}-ssn-alb-tg"
   port     = 31080
@@ -92,15 +82,4 @@ resource "aws_lb_listener" "ssn_k8s_nlb_api_listener" {
     type             = "forward"
     target_group_arn = aws_lb_target_group.ssn_k8s_nlb_api_target_group.arn
   }
-}
-
-resource "aws_lb_listener" "ssn_k8s_nlb_mongo_listener" {
-  load_balancer_arn = aws_lb.ssn_k8s_nlb.arn
-  port              = "27017"
-  protocol          = "TCP"
-
-  default_action {
-    type             = "forward"
-    target_group_arn = aws_lb_target_group.ssn_k8s_nlb_mongo_target_group.arn
-  }
 }
\ 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