From 5f02068f90e30a311851c77bd7aaa7d28621f625 Mon Sep 17 00:00:00 2001
From: leonmbecker <44971838+leonmbecker@users.noreply.github.com>
Date: Mon, 9 Sep 2019 16:41:19 +0200
Subject: [PATCH] Documenting Terraform variable `az_list` explicitly (#5132)

* added az_list to README section

* added az_list to cluster.tfvars
---
 contrib/terraform/openstack/README.md                       | 1 +
 contrib/terraform/openstack/sample-inventory/cluster.tfvars | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/contrib/terraform/openstack/README.md b/contrib/terraform/openstack/README.md
index 1e9975588..57e9f370f 100644
--- a/contrib/terraform/openstack/README.md
+++ b/contrib/terraform/openstack/README.md
@@ -224,6 +224,7 @@ For your cluster, edit `inventory/$CLUSTER/cluster.tfvars`.
 |Variable | Description |
 |---------|-------------|
 |`cluster_name` | All OpenStack resources will use the Terraform variable`cluster_name` (default`example`) in their name to make it easier to track. For example the first compute resource will be named`example-kubernetes-1`. |
+|`az_list` | List of Availability Zones available in your OpenStack cluster. |
 |`network_name` | The name to be given to the internal network that will be generated |
 |`network_dns_domain` | (Optional) The dns_domain for the internal network that will be generated |
 |`dns_nameservers`| An array of DNS name server names to be used by hosts in the internal subnet. |
diff --git a/contrib/terraform/openstack/sample-inventory/cluster.tfvars b/contrib/terraform/openstack/sample-inventory/cluster.tfvars
index 1854e1fba..c27d69723 100644
--- a/contrib/terraform/openstack/sample-inventory/cluster.tfvars
+++ b/contrib/terraform/openstack/sample-inventory/cluster.tfvars
@@ -1,6 +1,9 @@
 # your Kubernetes cluster name here
 cluster_name = "i-didnt-read-the-docs"
 
+# list of availability zones available in your OpenStack cluster
+#az_list = ["nova"]
+
 # SSH key to use for access to nodes
 public_key_path = "~/.ssh/id_rsa.pub"
 
-- 
GitLab