From fac8aaa44efa2c503f451e8c37ddcf8a40b35f78 Mon Sep 17 00:00:00 2001
From: Julien Senon <julien.senon@gmail.com>
Date: Mon, 15 Oct 2018 09:42:22 +0200
Subject: [PATCH] Update template for bastion (#3523)

Update template to have bastion section
---
 contrib/terraform/aws/templates/inventory.tpl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/terraform/aws/templates/inventory.tpl b/contrib/terraform/aws/templates/inventory.tpl
index 20a8a69a6..beb4f76a9 100644
--- a/contrib/terraform/aws/templates/inventory.tpl
+++ b/contrib/terraform/aws/templates/inventory.tpl
@@ -2,8 +2,9 @@
 ${connection_strings_master}
 ${connection_strings_node}
 ${connection_strings_etcd}
+${public_ip_address_bastion}
 
-
+[bastion]
 ${public_ip_address_bastion}
 
 [kube-master]
@@ -24,4 +25,4 @@ kube-master
 
 
 [k8s-cluster:vars]
-${elb_api_fqdn}
\ No newline at end of file
+${elb_api_fqdn}
-- 
GitLab