F5Networks / terraform-provider-bigip

Terraform resources that can configure F5 BIG-IP products
https://registry.terraform.io/providers/F5Networks/bigip/latest/docs
Mozilla Public License 2.0
105 stars 119 forks source link

Manage irules on an existing virtual server #1016

Open ReinhardvdBerg opened 1 month ago

ReinhardvdBerg commented 1 month ago

Is your feature request related to a problem? Please describe.

In LTM I have an ingress virtual server that hosts multiple websites behind a single distribution IP and I would like to use terraform to add new websites in a modular way from their own codebases. I was planning on using iRule Stacking but I don't see a resource that can link an irule to an existing virtual_server?

Describe the solution you'd like

Add a bigip_ltm_virtual_server_irule_link resource eg. resource "bigip_ltm_virtual_server_irule_link" "link" { irule_name = "/Common/existing_irule" virtual_server_name = "/Common/existing_vs_http" }

Describe alternatives you've considered

Without this feature or something similar I can't see how an application can add routing logic for itself? Combining everything into a monolith is not really an option.

Additional context

The ability to do this is critical to removing the manual error prone UI clicking it currently takes to add websites and is blocking us from doing modern DevOps Infrastructure as Code causing higher ups to see bigip ltm as undesirable.

Any help or feedback will be greatly appreciated! Thank you

pgouband commented 1 month ago

Hi @ReinhardvdBerg,

Have you tried using AS3 resource?