Skip to content

Commit b8c76b1

Browse files
feat(VSECPC-11094): NSI | Add support for PAYG deployment (#10)
Co-authored-by: natanelm <natanelm@checkpoint.com>
1 parent 939d5e0 commit b8c76b1

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

modules/common/common/variables.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ locals {
2525
}
2626
variable "license" {
2727
type = string
28-
description = "Checkpoint license (BYOL)."
28+
description = "Checkpoint license (BYOL or PAYG)."
2929
default = "BYOL"
3030
}
3131
locals {
3232
license_allowed_values = [
33-
"BYOL"]
33+
"BYOL",
34+
"PAYG"
35+
]
3436
// will fail if [var.license] is invalid:
3537
validate_license = index(local.license_allowed_values, upper(var.license))
3638
}

modules/common/network-security-integration-common/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ variable "prefix" {
2626
}
2727
variable "license" {
2828
type = string
29-
description = "Checkpoint license (BYOL)."
29+
description = "Checkpoint license (BYOL or PAYG)."
3030
default = "BYOL"
3131
}
3232
variable "image_name" {

modules/network-security-integration/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,11 @@ This module supports deployment with the following Check Point CloudGuard gatewa
125125
126126
| Version | Image Name | License |
127127
|---------|------------|-------------|
128-
| R82 | `check-point-r82-gw-byol-nsi-777-991001866-v20250731` | BYOL |
129-
| R81.20 | `check-point-r8120-gw-byol-nsi-631-991001866-v20250731` | BYOL |
128+
| R82 | `check-point-r82-gw-byol-nsi-777-991001897-v20250904` | BYOL |
129+
| R82 | `check-point-r82-gw-payg-nsi-777-991001897-v20250904` | PAYG |
130+
| R81.20 | `check-point-r8120-gw-byol-nsi-631-991001896-v20250903` | BYOL |
131+
| R81.20 | `check-point-r8120-gw-payg-nsi-631-991001896-v20250903` | PAYG |
132+
130133
131134
132135
## Usage
@@ -150,7 +153,7 @@ module "nsi-test" {
150153
# --- Check Point---
151154
prefix = "chkp-tf-nsi"
152155
license = "BYOL"
153-
image_name = "check-point-r8120-gw-byol-nsi-631-991001866-v20250731"
156+
image_name = "check-point-r8120-gw-byol-nsi-631-991001896-v20250903"
154157
os_version = "R8120"
155158
management_nic = "Ephemeral Public IP (eth0)"
156159
management_name = "tf-checkpoint-management"
@@ -228,8 +231,8 @@ Leave an empty list for a protocol if you want to disable traffic for it.
228231
| project | Personal project ID. The project indicates the default GCP project in which all your resources will be created. The project ID must be 6-30 characters long, start with a letter, and can only include lowercase letters, numbers, hyphens, and cannot end with a hyphen. | string | N/A | "" | yes
229232
| organization_id | Unique identifier for your organization in GCP. It is used to manage resources and permissions within your organization. [For more detailes](https://cloud.google.com/resource-manager/docs/creating-managing-organization) | string | N/A | "" | yes
230233
| prefix | (Optional) Resources name prefix. <br/> Note: resource name must not contain reserved words based on [sk40179](https://support.checkpoint.com/results/sk/sk40179). | string | N/A | "chkp-tf-nsi" | no |
231-
| license | Check Point license (BYOL). | string | BYOL <br/> | "BYOL" | no |
232-
| image_name | The NSI image name (for example, check-point-r8120-gw-byol-nsi-631-991001866-v20250731). | string | N/A | N/A | yes |
234+
| license | Check Point license (BYOL or PAYG). | string | BYOL <br/> PAYG <br/> | "BYOL" | no |
235+
| image_name | The NSI image name (for example, check-point-r8120-gw-byol-nsi-631-991001896-v20250903). | string | N/A | N/A | yes |
233236
| os_version | Gaia OS Version | string | R8110;<br/> R8120;<br/> R82; | "R8120" | yes
234237
| management_nic | Management Interface - Autoscaling Security Gateways in GCP can be managed by the ephemeral public IP or by the private IP of the Management interface (eth0). | string | Ephemeral Public IP (eth0) <br/> Private IP (eth0) | "Ephemeral Public IP (eth0)" | no |
235238
| management_name | The name of the Security Management Server as it appears in the autoprovisioning configuration. (Enter a valid Security Management name including lowercase letters, digits and hyphens only). | string | N/A | "checkpoint-management" | no |

modules/network-security-integration/variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ variable "prefix" {
3030
}
3131
variable "license" {
3232
type = string
33-
description = "Checkpoint license (BYOL)."
33+
description = "Checkpoint license (BYOL or PAYG)."
3434
default = "BYOL"
3535
validation {
36-
condition = contains(["BYOL"] , var.license)
37-
error_message = "Allowed licenses are 'BYOL'"
36+
condition = contains(["BYOL" , "PAYG"] , var.license)
37+
error_message = "Allowed licenses are 'BYOL' or 'PAYG'"
3838
}
3939
}
4040
variable "image_name" {

0 commit comments

Comments
 (0)