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
This commit is contained in:
Dalton Hubble 2018-10-27 16:42:36 -07:00
parent 9b405a19b2
commit dbe7604b67
2 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,10 @@ Notable changes between versions.
* Add `disk_iops` variable for EBS volume IOPS ([#314](https://github.com/poseidon/typhoon/pull/314)) * 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 #### Addons
* Configure Heapster to scrape Kubelets with bearer token auth ([#323](https://github.com/poseidon/typhoon/pull/323)) * Configure Heapster to scrape Kubelets with bearer token auth ([#323](https://github.com/poseidon/typhoon/pull/323))

View File

@ -58,6 +58,7 @@ resource "azurerm_virtual_machine_scale_set" "workers" {
ip_configuration { ip_configuration {
name = "ip0" name = "ip0"
primary = true
subnet_id = "${var.subnet_id}" subnet_id = "${var.subnet_id}"
# backend address pool to which the NIC should be added # backend address pool to which the NIC should be added