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

Context support for smart-1 Cloud #56

Closed edacostaa closed 2 years ago

edacostaa commented 3 years ago

Error when trying to use terraform provider on smart-1 cloud management

_Error: unsupported access context - gaia_api or web_api

on main.tf line 1, in provider "checkpoint": 1: provider "checkpoint" {_

context supported by checkpoint provider is gaia_api or web_api. Format on smart-1 Cloud is "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/web_api"

chkp-royl commented 3 years ago

Hi @edacostaa, Smart-1 Cloud context is currently not supported in terraform provider. This issue marked as enhancement and we will support it in future versions of provider.

Thanks, Roy

zjaniga commented 2 years ago

Hi @chkp-royl,

Is there an ETA for this? We would like to start using terraform for Smart-1 Cloud in the next 6-9 months.

Regards, Zsolt

chkp-royl commented 2 years ago

Hi All, I am happy to announce that from version 2.0.0 our provider supports Smart-1 Cloud. Use 'cloud_mgmt_id' to set your cloud UID, this can also be defined via the CHECKPOINT_CLOUD_MGMT_ID environment variable. For example: provider "checkpoint" { server = "chkp-vmnc6s4y.maas.checkpoint.com" api_key = "tBdloE9eOYzzSQicNxS7mA==" context = "web_api" cloud_mgmt_id = "de9a9b08-c7c7-436e-a64a-a54136301701" }

Regards, Roy