Skip to content

Commit

Permalink
Update main.tf with updated vmss requirement
Browse files Browse the repository at this point in the history
This is the same issue referenced in the pull [request](Azure/terraform-azurerm-computegroup#20)

The ip_configuration now requires a primary setting.
  • Loading branch information
ned1313 authored Nov 14, 2018
1 parent 4cbad80 commit d8470f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ resource "azurerm_virtual_machine_scale_set" "vm-linux" {
ip_configuration {
name = "IPConfiguration"
subnet_id = "${var.vnet_subnet_id}"
primary = true
load_balancer_backend_address_pool_ids = ["${var.load_balancer_backend_address_pool_ids}"]
}
}
Expand Down

1 comment on commit d8470f9

@applerom
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix "ip_configuration primary": required field is not set

Please sign in to comment.