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

geo_mode option not recognized when trying to create a checkpoint_management_simple_cluster #156

Closed KurpLondon closed 1 year ago

KurpLondon commented 1 year ago

Hi Team

I'm trying to deploy a cross-az-cluster on aws using geo_mode. Using terraform 1.3.7 and checkpoint terraform provider v2.6. The "geo_mode" option is not recognised when using "checkpoint_management_simple_cluster" resource

resource "checkpoint_management_simple_cluster" "aws-cnse-cluster" {

name = "aws-cnse-cluster" ipv4_address = module.chkp-iaas-cxl.cluster_public_ip[0] cluster_mode = "cluster-xl-ha" color = "yellow" version = "R81.20" os_name = "Gaia" geo_mode = true

│ Error: Unsupported argument │ │ on cp-mgmt.tf line 36, in resource "checkpoint_management_simple_cluster" "aws-cnse-cluster": │ 36: geo_mode = true │ │ An argument named "geo_mode" is not expected here.

geo_mode is described in the terraform documentation for the resource but is missing from the resource schema (i believe)

https://github.com/CheckPointSW/terraform-provider-checkpoint/blob/master/website/docs/r/checkpoint_management_simple_cluster.html.markdown

chkp-royl commented 1 year ago

Hi @KurpLondon , Thank you for reporting this issue. We will check and update as soon as possible.

Thanks, Roy

chkp-royl commented 1 year ago

Updating that geo-mode is now supported from this PR and will be part of the next release.