You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use position_keyword and position_reference on resource panos_panorama_security_rule_group to put new rules just before the cleanup-rule at the bottom, I will refer to this as rule_A. Over time as new rules are created the position of rule-A will change.
Whenever rule_A is updated, it will be repositioned just before the cleanup-rule, although we explicitly set:
Describe the bug
We use position_keyword and position_reference on resource panos_panorama_security_rule_group to put new rules just before the cleanup-rule at the bottom, I will refer to this as rule_A. Over time as new rules are created the position of rule-A will change.
Whenever rule_A is updated, it will be repositioned just before the cleanup-rule, although we explicitly set:
lifecycle {
create_before_destroy = true
ignore_changes = [
position_keyword,
position_reference
]
}
Expected behavior
Ignore changes on the position_keyword and position_reference made outside terraform (or as a consequence of other rules being created)
Current behavior
Rule is updated and re-positioned - this is unnecessary and also avoids that you can place frequently hit rules at the top (manually)
Possible solution
respect lifecycle, ignore_changes
Steps to reproduce
Screenshots
NA
Context
Your Environment
panos 1.11.1
The text was updated successfully, but these errors were encountered: