diff --git a/README.md b/README.md index ea15899..455456d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ AWS Kubernetes is a Kubernetes cluster deployed using [Kubeadm](https://kubernet ## Updates +* *29.1.2018:* Add automatically tag also to the master subnet * *22.1.2018:* Update Calico to 3.0.1 * *22.1.2018:* Update to Kubernetes 1.9.2, Ingres 0.10.0 and Dashboard 1.8.2 * *6.1.2018:* Update to Kubernetes 1.9.1 diff --git a/main.tf b/main.tf index 29f6e38..58f95be 100644 --- a/main.tf +++ b/main.tf @@ -186,7 +186,7 @@ data "template_file" "init_master" { asg_name = "${var.cluster_name}-nodes" asg_min_nodes = "${var.min_worker_count}" asg_max_nodes = "${var.max_worker_count}" - aws_subnets = "${join(" ", var.worker_subnet_ids)}" + aws_subnets = "${join(" ", concat(var.worker_subnet_ids, list(var.master_subnet_id)))}" } }