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

Issue with Provider : checkpoint in version 2.6.0 #159

Closed miqdaadp closed 10 months ago

miqdaadp commented 1 year ago

We are trying to create a simple cluster using this provider version 2.6.0.

We are using this resource checkpoint_management_simple_cluster to create a MDS cluster with this

terraform { required_providers { checkpoint = { source = "checkpointsw/checkpoint" version = "2.6.0" } } }

Configure the Check Point Provider

provider "checkpoint" { server = "192.0.2.1" username = "aa" password = "aaaa" context = "web_api" }

While creating the cluster it gives this error in Applying it.

│ Error: failed to execute API call │ Status: 400 Bad Request │ Code: generic_err_invalid_parameter_name │ Message: Unrecognized parameter [hit-count] │

We get Hit_count in the plan but this is Hit-count with "-" . We tried with many version 2.6.0 till 2.2.0 and its happening in all the version.

We are using now provider version 2.1.0 and its not happening anymore. The cluster is getting created successfully without any issues.

Please confirm if there is something we need to change or if API is an issue.

chkp-royl commented 1 year ago

Hi @miqdaad, 'hit-count' was added to provider from version 2.2.0. The error you see is from the management server which indicates that 'hit-count' field is not supported. Can you please elaborate the whole flow you are executing? What is the management server version?

chkp-royl commented 10 months ago

Close for now because no response. Feel free to re-open if it still happen.