From 45b7c611818f2de0f7ad368153f662ce810fbd1f Mon Sep 17 00:00:00 2001 From: Levi Blackstone Date: Fri, 16 Feb 2018 10:14:29 -0700 Subject: [PATCH] platforms/openstack/neutron/main.tf: Use DNS names for etcd endpoints TLS certs for etcd are generated based on this variable. Previously, this was using the bare IP addresses rather than DNS names, which is less robust, and was causing TLS failures for external etcd. --- platforms/openstack/neutron/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/openstack/neutron/main.tf b/platforms/openstack/neutron/main.tf index 3d968bc78a..404c7b9f08 100644 --- a/platforms/openstack/neutron/main.tf +++ b/platforms/openstack/neutron/main.tf @@ -89,7 +89,7 @@ module "bootkube" { etcd_backup_size = "${var.tectonic_etcd_backup_size}" etcd_backup_storage_class = "${var.tectonic_etcd_backup_storage_class}" - etcd_endpoints = "${module.dns.etcd_a_nodes}" + etcd_endpoints = "${data.template_file.etcd_hostname_list.*.rendered}" self_hosted_etcd = "${var.tectonic_self_hosted_etcd}" master_count = "${var.tectonic_master_count}"