Applying a WAF policy to a virtual server is erroring out with the following:
Error: 01070734:3: Configuration error: The bot-defense-asm profile /Common/ was added to virtual server /Common/ but it does not match the asm-controlling policy. The bot-defense-asm profile is added to the virtual server automatically.
Environment
Summary
Applying a WAF policy to a virtual server is erroring out with the following:
Error: 01070734:3: Configuration error: The bot-defense-asm profile /Common/ was added to virtual server /Common/ but it does not match the asm-controlling policy. The bot-defense-asm profile is added to the virtual server automatically.
Steps To Reproduce
Steps to reproduce the behavior:
resource "bigip_ltm_virtual_server" "http" { ... profiles = "/Common/"
...
}
Terraform plan and apply
Expected Behavior
The waf policy is attached to the virtual server
Actual Behavior
I see that f5 also creates an ltm policy, do we have to add that to the virtual server to fix this?