-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting iRules from Virtual Server Configs #923
Comments
Hi @atyanh, I tested and it works uring: Could you test? |
You are right it worked, thank you. But now every time I execute terraform plan it shows that the rules will be updated.
Is this okay? I think it will interfere with work when I provision some resources. |
Hi @atyanh, You're right about the output of plan but you can avoid that removing the line "irules". |
Thank you for your answer, but I'm creating modules and should always pass a value for irules attribute.Can I find a way to do that? |
Hi @atyanh, Can you create two modules? One with irules list and one without? |
Yes I can, but I don't think it's the best solution to duplicate 4 modules just for irules. I thought it would be easy to resolve and would like to help with developing the provider.Whatever thank you :) |
Hi, Thanks for reporting. Added to the backlog and internal tracking ID for this request is: INFRAANO-1417. |
Okay Thank you |
fixed in v1.21.0 |
Environment
Summary
Terraform doesn't change iRule list in Virtual Server configurations when I leave the list empty. It works correctly if I leave at least one iRule but if we delete all and leave it the array empty it doesn't do anything.
Steps To Reproduce
Steps to reproduce the behavior:
For example
irules = [ bigip_ltm_irule.rule1.name, bigip_ltm_irule.rule2.name ]
This works correctly, but when I delete iRules it shows on the plan but doesn't do anything
irules = [ ]
The text was updated successfully, but these errors were encountered: