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

access rules, always checking "enable_identity_captive_portal" #59

Closed gertzakis closed 3 years ago

gertzakis commented 3 years ago

Hello,

i noticed, that every time we use the resource for access_rules it checks for "enable_idenity_captive_portal" parameter.

Even if the access rule is created, and no changes has been implemented in terraform the provider modifies the access rule.

Thank you

chkp-royl commented 3 years ago

Hi @gertzakis , This field might be missing from your configuration. When terraform does refresh to a resource it updates his current state and if there is diff you need to handle it. Once you set value to that field, resource state will be same as your configuration. For example: action_settings = { enable_identity_captive_portal = false }

Thanks, Roy