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

@ -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