Skip to content

Commit

Permalink
GCP Terraform | Removed R81 version (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-natanelm authored Mar 3, 2025
1 parent a34a53c commit 0c7047c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion terraform/gcp/autoscale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Please leave empty list for a protocol if you want to disable traffic for it.
| prefix | (Optional) Resources name prefix. <br/> Note: resource name must not contain reserved words based on: sk40179. | string | N/A | "chkp-tf-mig" | no |
| license | Checkpoint license (BYOL or PAYG). | string | - BYOL <br/> - PAYG <br/> | "BYOL" | no |
| image_name | The autoscaling (MIG) image name (e.g. ccheck-point-r8120-gw-byol-mig-631-991001669-v20240923). You can choose the desired mig image value from [Github](https://github.com/CheckPointSW/CloudGuardIaaS/blob/master/gcp/deployment-packages/autoscale-byol/images.py). | string | N/A | N/A | yes |
| os_version |GAIA OS Version | string | R81;<br/> R8110;<br/> R8120;<br/> R82; | R8120 | yes |
| os_version |GAIA OS Version | string | R8110;<br/> R8120;<br/> R82; | R8120 | yes |
| | | | | |
| management_nic | Management Interface - Autoscaling Security Gateways in GCP can be managed by an ephemeral public IP or using the private IP of the internal interface (eth1). | string | Ephemeral Public IP (eth0) <br/> - Private IP (eth1) | "Ephemeral Public IP (eth0)" | no |
| management_name | The name of the Security Management Server as appears in autoprovisioning configuration. (Please enter a valid Security Management name including lowercase letters, digits and hyphens only). | string | N/A | "checkpoint-management" | no |
Expand Down
13 changes: 4 additions & 9 deletions terraform/gcp/common/common/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,10 @@ variable "os_version" {
type = string
description = "GAIA OS version"
default = "R8120"
}
locals {
version_allowed_values = [
"R81",
"R8110",
"R8120",
"R82"]

validate_os_version = index(local.version_allowed_values, var.os_version)
validation {
condition = contains(["R8110", "R8120" , "R82"], var.os_version)
error_message = "Allowed values for os_version are 'R8110' , 'R8120', 'R82'"
}
}
variable "image_name" {
type = string
Expand Down
2 changes: 1 addition & 1 deletion terraform/gcp/high-availability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ internal_network1_subnetwork_name = ""
| license | Checkpoint license (BYOL or PAYG). | string | - BYOL <br/> - PAYG <br/> | "BYOL" | no |
| image_name | The High Availability (cluster) image name (e.g. check-point-r8120-gw-byol-cluster-631-991001669-v20240923). You can choose the desired cluster image value from [Github](https://github.com/CheckPointSW/CloudGuardIaaS/blob/master/gcp/deployment-packages/ha-byol/images.py). | string | N/A | N/A | yes |
| | | | | |
| os_version |GAIA OS Version | string | R81;<br/> R8110;<br/> R8120;<br/> R82; | R8120 | yes |
| os_version |GAIA OS Version | string | R8110;<br/> R8120;<br/> R82; | R8120 | yes |
| | | | | |
| region | GCP region | string | N/A | "us-central1" | no |
| zone_a | Member A Zone. The zone determines what computing resources are available and where your data is stored and used. | string | N/A | "us-central1-a" | no |
Expand Down
2 changes: 1 addition & 1 deletion terraform/gcp/single/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Please leave empty list for a protocol if you want to disable traffic for it.
| region | GCP region | string | N/A | N/A | yes |
| zone | The zone determines what computing resources are available and where your data is stored and used | string | List of allowed [Regions and Zones](https://cloud.google.com/compute/docs/regions-zones?_ga=2.31926582.-962483654.1585043745) | us-central1-a | yes |
| image_name | The single gateway or management image name (e.g. check-point-r8120-gw-byol-single-631-991001669-v20240923 for gateway or check-point-r8120-byol-634-991001641-v20240807 for management). You can choose the desired gateway image value from [Github](https://github.com/CheckPointSW/CloudGuardIaaS/blob/master/gcp/deployment-packages/single-byol/images.py). | string | N/A | N/A | yes |
| os_version | GAIA OS Version | string | R81;<br/> R8110;<br/> R8120;<br/> R82; | R8120 | yes |
| os_version | GAIA OS Version | string | R8110;<br/> R8120;<br/> R82; | R8120 | yes |
| installation_type | Installation type | string | Gateway only;<br/> Management only;<br/> Manual Configuration<br/>Gateway and Management (Standalone) | Gateway only | yes |
| license | Checkpoint license (BYOL or PAYG). | string | BYOL; <br/>PAYG; | BYOL | yes |
| prefix | (Optional) Resources name prefix | string | N\A | chkp-single-tf- | no |
Expand Down

0 comments on commit 0c7047c

Please sign in to comment.