Hello :wave: I think there might be an issue with ...
# azure
c
Hello 👋 I think there might be an issue with
azure-native:network:LoadBalancer
, and would love some clarity. Specifically I am trying to add IP addresses in the
BackendAddressPool
field, but these are not reflected in Azure portal and the backend has no IP addresses. Your examples don't actually populate IP addresses. I see some others use the more specific
azure-native:network:LoadBalancerBackendAddressPool
but I cannot use this as my
LoadBalancer
rules need to reference the backend pool, which it cannot do unless I create it in the LoadBalancer. Any pointers at all would be much appreciated, thank you!
Also I might be missing something basic, but there doesn't seem to be a way to provide virtual machine resources as backends
c
When in doubt, go to the ARM reference as that the source of truth. Pulumi a wrapper for the ARM API. For the virtual machine, try configuring the load balancer on the NIC. https://docs.microsoft.com/en-us/azure/templates/microsoft.network/networkinterfaces?tabs=bicep https://www.pulumi.com/registry/packages/azure-native/api-docs/network/networkinterface/#networkinterfaceipconfiguration
c
Ah, thanks a bunch, I'll give that a go