faint-mouse-18716
03/28/2023, 12:07 AMazurerm_lb_rule
resource. If the rule is attached to an azurerm_lb
load balancer with the Basic
SKU this is a free resource, but if it’s attached to a Standard
SKU it has an associated cost.
The original issue requesting support for these load balancers called this out, but it looks like it was missed in the the initial implementation. 🧵lookupParentSku()
helper similar to the lookupRegion helper
2. Set the skuName
field in the ProductFilter for the lb_rule
to match the parent load balancer’s SKU
The piece I’m not familiar with is how to add a new resource price like this to the cloud pricing backend. The dumb answer is to just set the UnitMultiplier for the lb_rule to zero, but I suspect that’s not the correct answer 😁. I’m also not clear how a sometimes-free resource would relate to the “free resources” lists.crooked-daybreak-55253
03/28/2023, 11:42 AMfaint-mouse-18716
03/28/2023, 12:25 PMcrooked-daybreak-55253
03/28/2023, 3:57 PMfaint-mouse-18716
03/28/2023, 6:14 PM