Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
chkp-royl
Employee
Employee

Check Point Terraform Provider v1.4.0

Hi All,

We are happy to announce on the release of new version of Check Point Terraform Provider v1.4.0.

This version contains new features including enhancements and bug fixes:

  1. New resource: threat-profile.
  2. New data source: threat-profile.
  3. Fix resource access-rule when action field has changed.

 

Changelog v1.4.0: https://github.com/CheckPointSW/terraform-provider-checkpoint/blob/master/CHANGELOG.md#140-march-22-...

Check Point provider: https://registry.terraform.io/providers/CheckPointSW/checkpoint/latest

 

Regards,

Management API Team

3 Replies
Jon_Crotteau
Participant

Do this work for only certain Check Point versions? Also, does it work for SmartCenter and MDM? 

0 Kudos
chkp-royl
Employee
Employee

Hi @Jon_Crotteau ,

The provider is available for Management R80+ and the supported resources are depends on the API version in management machine.

You can find which APIs exists per version in our docs: https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.7%20

There is resource for most of the APIs. It does work for SmartCenter and MDM (specify domain in configuration).

 

Thanks,

Roy

0 Kudos
Simon_Macpherso
Advisor

Hello,

The following error is returning when attempting to verify a software package on an on-premise R80.30 HA cluster.  

-------------------------------------------------------------------------------------------------------------------------------------

checkpoint_management_verify_software_package.package: Creating...

Error: failed to execute API call

State: 400 Bad Request

Code: generic_error

Message: Runtime error: Members of cluster fw-dbn-ras are not aligned to the same recommended Jumbo Hotfix Accumulator Take. 

with checkpoint_management_verify_software_package.example,

on main.tf line 19, in resource "checkpoint_management_verify_software_package" "example":

19: resource "checkpoint_management_verify_software_package" "example" {

-------------------------------------------------------------------------------------------------------------------------------------

Below are the contents of main.tf

terraform {
required_providers {
checkpoint = {
source = "CheckPointSW/checkpoint"
version = ">= 1.4.0"
}
}
}

provider "checkpoint" {
server = "server ip"
username = "username"
password = "password"
context = "web_api"

}

resource "checkpoint_management_verify_software_package" "example" {
policy_package = "Check_Point_R80_30_JUMBO_HF_Bundle_T236_sk153152_Security_Gateway_3_10_FULL.tgz"
targets = ["corporate-gateway"]
}

-------------------------------------------------------------------------------------------------------------------------------------

Both gateways are running R80.30 GA Take 196. 

 

Regards,

Simon

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events