From 27d62941b258df2cab78363f0abf3ab5299383d8 Mon Sep 17 00:00:00 2001 From: Derek Lemon Date: Thu, 14 Jun 2018 17:41:58 +0000 Subject: [PATCH] Add the subnet_cidr as a required argument to the network module --- contrib/terraform/openstack/kubespray.tf | 1 + contrib/terraform/openstack/sample-inventory/cluster.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/terraform/openstack/kubespray.tf b/contrib/terraform/openstack/kubespray.tf index c501302de..b3ea369c2 100644 --- a/contrib/terraform/openstack/kubespray.tf +++ b/contrib/terraform/openstack/kubespray.tf @@ -3,6 +3,7 @@ module "network" { external_net = "${var.external_net}" network_name = "${var.network_name}" + subnet_cidr = "${var.subnet_cidr}" cluster_name = "${var.cluster_name}" dns_nameservers = "${var.dns_nameservers}" } diff --git a/contrib/terraform/openstack/sample-inventory/cluster.tf b/contrib/terraform/openstack/sample-inventory/cluster.tf index 7830d2159..a793bfaa5 100644 --- a/contrib/terraform/openstack/sample-inventory/cluster.tf +++ b/contrib/terraform/openstack/sample-inventory/cluster.tf @@ -41,5 +41,6 @@ number_of_k8s_nodes_no_floating_ip = 4 # networking network_name = "" external_net = "" +subnet_cidr = "" floatingip_pool = ""