From bbe5728b9b6b59dc1f7d085d3924558577cb12e1 Mon Sep 17 00:00:00 2001 From: Amelia Downs Date: Wed, 17 Jul 2024 16:18:49 +0000 Subject: [PATCH] connect tcp router VMs to the tcp router loadbalancers for SRT deploys Signed-off-by: Geoff Franks Co-authored-by: Geoff Franks --- deploy_pcf/2.7/gcp_cf_resources_srt.json.erb | 8 +++++++- deploy_pcf/3.0/gcp_cf_resources_srt.json.erb | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/deploy_pcf/2.7/gcp_cf_resources_srt.json.erb b/deploy_pcf/2.7/gcp_cf_resources_srt.json.erb index 15a3d80..7294704 100644 --- a/deploy_pcf/2.7/gcp_cf_resources_srt.json.erb +++ b/deploy_pcf/2.7/gcp_cf_resources_srt.json.erb @@ -1,4 +1,5 @@ -<% http_lb=`terraform output http_lb_backend_name`.strip +<% tcp_router=`terraform output tcp_router_pool`.strip + http_lb=`terraform output http_lb_backend_name`.strip ws_router=`terraform output ws_router_pool`.strip ssh_router=`terraform output ssh_router_pool`.strip %> @@ -15,6 +16,11 @@ "tcp:<%= ws_router %>" ] }, + "tcp_router": { + "elb_names": [ + "tcp:<%= tcp_router %>" + ] + }, "control": { "instances": 1, "elb_names": [ diff --git a/deploy_pcf/3.0/gcp_cf_resources_srt.json.erb b/deploy_pcf/3.0/gcp_cf_resources_srt.json.erb index 0cf3b17..25a43ae 100644 --- a/deploy_pcf/3.0/gcp_cf_resources_srt.json.erb +++ b/deploy_pcf/3.0/gcp_cf_resources_srt.json.erb @@ -1,4 +1,5 @@ -<% http_lb=`terraform output http_lb_backend_name`.strip +<% tcp_router=`terraform output tcp_router_pool`.strip + http_lb=`terraform output http_lb_backend_name`.strip ws_router=`terraform output ws_router_pool`.strip ssh_router=`terraform output ssh_router_pool`.strip %> @@ -15,6 +16,11 @@ "tcp:<%= ws_router %>" ] }, + "tcp_router": { + "elb_names": [ + "tcp:<%= tcp_router %>" + ] + }, "control": { "instances": 1, "elb_names": [