Skip to content

Instantly share code, notes, and snippets.

@bobalob
Created November 21, 2016 20:21
Show Gist options
  • Save bobalob/97babd5489fd84be40e737db668834ef to your computer and use it in GitHub Desktop.
Save bobalob/97babd5489fd84be40e737db668834ef to your computer and use it in GitHub Desktop.
ip_configuration {
name = "${var.vm_name_prefix}-${count.index}-ipConfig"
subnet_id = "${azurerm_subnet.subnet1.id}"
private_ip_address_allocation = "dynamic"
load_balancer_backend_address_pools_ids = ["${azurerm_lb_backend_address_pool.backend_pool.id}"]
load_balancer_inbound_nat_rules_ids = ["${element(azurerm_lb_nat_rule.winrm_nat.*.id, count.index)}"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment