rquarry / tf-UpandRunning-Azure

Terraform Examples in Azure from Terraform Up & Running by Jim Brikman
MIT License
1 stars 0 forks source link

Backend pool not using NICs as intended #4

Closed rquarry closed 2 months ago

rquarry commented 2 months ago

Once instantiated, from the Azure portal, the http load balancer pool lists 6 resources in the pool, three of which are just "example-nicX" with not associated hosts.

rquarry commented 2 months ago

Remove the instances of azurerm_network_interface. They were not needed in the configuration because the nics defined in the VMSS were the ones being properly associated with the pool in line 116

https://github.com/rquarry/tf-UpandRunning-Azure/blob/fec80f3e792d328634751654ff067e344f8ed762/main.tf#L112-L116