Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
typo in defining name of NIC in ip_configuration bloc.
  • Loading branch information
kecirlotfi authored Jun 14, 2021
1 parent 1139a5c commit d90e211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ resource "azurerm_windows_virtual_machine_scale_set" "winsrv_vmss" {
network_security_group_id = azurerm_network_security_group.nsg.id

ip_configuration {
name = lower("ipconig-${format("vm%s%s", lower(replace(var.vmscaleset_name, "/[[:^alnum:]]/", "")), count.index + 1)}")
name = lower("ipconfig-${format("vm%s%s", lower(replace(var.vmscaleset_name, "/[[:^alnum:]]/", "")), count.index + 1)}")
primary = true
subnet_id = data.azurerm_subnet.snet.id
load_balancer_backend_address_pool_ids = var.enable_load_balancer ? [azurerm_lb_backend_address_pool.bepool[0].id] : null
Expand Down

0 comments on commit d90e211

Please sign in to comment.