From dbe7604b67337d99d4aba54bec29814242d83785 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 27 Oct 2018 16:42:36 -0700 Subject: [PATCH] Add primary field to ip_configuration required by Azure * Required by terraform-provider-azurerm v1.17+ * https://github.com/terraform-providers/terraform-provider-azurerm/pull/2035 --- CHANGES.md | 4 ++++ azure/container-linux/kubernetes/workers/workers.tf | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index dbe789dd..6f16dc44 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,10 @@ Notable changes between versions. * Add `disk_iops` variable for EBS volume IOPS ([#314](https://github.com/poseidon/typhoon/pull/314)) +#### Azure + +* Add `primary` field to `ip_configuration`. Required by `terraform-provider-azurerm` v1.17+ ([#331](https://github.com/poseidon/typhoon/pull/331)) + #### Addons * Configure Heapster to scrape Kubelets with bearer token auth ([#323](https://github.com/poseidon/typhoon/pull/323)) diff --git a/azure/container-linux/kubernetes/workers/workers.tf b/azure/container-linux/kubernetes/workers/workers.tf index 1d838ed6..87642ad8 100644 --- a/azure/container-linux/kubernetes/workers/workers.tf +++ b/azure/container-linux/kubernetes/workers/workers.tf @@ -58,6 +58,7 @@ resource "azurerm_virtual_machine_scale_set" "workers" { ip_configuration { name = "ip0" + primary = true subnet_id = "${var.subnet_id}" # backend address pool to which the NIC should be added