CheckPointSW / terraform-provider-checkpoint

Terraform provider for Check Point
https://www.terraform.io/docs/providers/checkpoint/
Mozilla Public License 2.0
28 stars 40 forks source link

FR: Position by rule number... again #58

Closed padavrexi closed 3 years ago

padavrexi commented 3 years ago

Hello,

sorry to "revive" a closed ticket but, as mentioned in #36, it would be very helpful to have the option for absolute (not relative) rule position. This is already present in the API so I'd guess it's possible to add it in the published provider, correct?

Thanks in advance, Nikos

chkp-royl commented 3 years ago

Hi @padavrexi , Because of idempotent reasons and the fact that terraform runs on parallel it's tricky to support position by rule number. It's actually relevant only when modify single rule each time but when modify more than one rule, order of executions isn't known for us so the rule position can be change or not to be like the user meant. This is why we support only relative to ensure positioning is correct anytime.

Thanks, Roy