PaloAltoNetworks / terraform-azurerm-vmseries-modules

Terraform Reusable Modules for VM-Series on Azure
https://registry.terraform.io/modules/PaloAltoNetworks/vmseries-modules/azurerm/latest
MIT License
49 stars 59 forks source link

feat(module/appgw): move backend association from appgw to vmseries module #220

Closed FoSix closed 1 year ago

FoSix commented 1 year ago

Describe the solution you'd like

The loadbalancer module creates a load balancer only. The association between the actual VMSeries and the backends is done in the VMSeries module. This is a flexible approach.

The AppGW module on the other hand requires to specify the VMs directly. This can be difficult if you have all firewalls defined in one map. The idea would be to refactor the appgw and vmseries modules to get the same mechanizm of associating a VM with a backend we currently have in the loadbalancer module.

FoSix commented 1 year ago

This is not doable, as Terraform currently does not provide a resource that would manage the backend pool for an AppGW like it does for Load Balancers. Hence abandoning this idea. Will focus on #225 instead to make the VMSeries module interfaces output more easy to use with AppGW.