You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| service_account_path | User service account path in JSON format - From the service account key page in the Cloud Console choose an existing account or create a new one. Next, download the JSON key file. Name it something you can remember, store it somewhere secure on your machine, and supply the path to the location is stored. (e.g. "service-accounts/service-account-name.json") | string | N/A | "" | yes |
226
-
| project | Personal project id. The project indicates the default GCP project all of your resources will be created in. | string | N/A | "" | yes |
226
+
| project | Personal project ID. The project indicates the default GCP project all of your resources will be created in. The project ID must be 6-30 characters long, start with a letter, and can only include lowercase letters, numbers, hyphenst and cannot end with a hyphen. | string | N/A | "" | yes |
227
227
| | | | | |
228
228
| prefix | (Optional) Resources name prefix. | string | N/A | "chkp-tf-ha" | no |
| image_name | The High Availability (cluster) image name (e.g. check-point-r8120-gw-byol-cluster-631-991001335-v20230622). 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 |
230
+
| 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 |
231
231
| | | | | |
232
-
| os_version |GAIA OS Version | string | R81;<br/> R8110;<br/> R8120;<br/> R82 | R8120 | yes |
232
+
| os_version |GAIA OS Version | string | R81;<br/> R8110;<br/> R8120;<br/> R82; | R8120 | yes |
233
233
| | | | | |
234
234
| region | GCP region | string | N/A | "us-central1" | no |
235
-
| zoneA | 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 |
236
-
| zoneB | Member B Zone. | string | N/A | "us-central1-a" | no |
235
+
| 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 |
236
+
| zone_b | Member B Zone. | string | N/A | "us-central1-a" | no |
237
237
| machine_type | Machine types determine the specifications of your machines, such as the amount of memory, virtual cores, and persistent disk limits an instance will have. | string | N/A | "n1-standard-4" | no |
238
238
| disk_type | Storage space is much less expensive for a standard Persistent Disk. An SSD Persistent Disk is better for random IOPS or streaming throughput with low latency. | string | - SSD Persistent Disk <br/> - Standard Persistent Disk | "SSD Persistent Disk" | no |
239
239
| disk_size | Disk size in GB - Persistent disk performance is tied to the size of the persistent disk volume. You are charged for the actual amount of provisioned disk space. | number | number between 100 and 4096 | 100 | no |
@@ -304,9 +304,7 @@ In order to check the template version refer to the [sk116585](https://supportce
// will fail if the var.zoneA and var.zoneB are not at the same region:
24
6
validate_zones=index(local.split_zoneA, local.split_zoneB[0]) == local.split_zoneA[0] &&index(local.split_zoneA, local.split_zoneB[1]) == local.split_zoneA[0] ?0:"var.zoneA and var.zoneB are not at the same region"
regex_admin_SSH_key=regex(local.regex_valid_admin_SSH_key, var.admin_SSH_key) == var.admin_SSH_key?0:"Please enter a valid SSH public key or leave empty"
89
-
90
61
regex_valid_sic_key="^([a-z0-9A-Z]{8,30})$"
91
62
// Will fail if var.sic_key is invalid
92
-
regex_sic_key=regex(local.regex_valid_sic_key, var.sic_key) == var.sic_key?0:"Variable [sic_key] must be at least 8 alpha numeric characters."
93
-
94
-
63
+
regex_sic_key=length(regexall(local.regex_valid_sic_key, var.sic_key) )>0?0:"Variable [sicKey] must be at least 8 alphanumeric characters."
error_message="The project ID must be 6-30 characters long, start with a letter, and can only include lowercase letters, numbers, hyphenst and cannot end with a hyphen."
16
+
}
13
17
}
14
18
15
19
# --- Check Point Deployment ---
@@ -32,20 +36,19 @@ variable "os_version" {
32
36
description="GAIA OS version"
33
37
default="R8120"
34
38
}
35
-
36
39
# --- Instances Configuration ---
37
40
data"google_compute_regions""available_regions" {
38
41
}
39
42
variable"region" {
40
43
type=string
41
44
default="us-central1"
42
45
}
43
-
variable"zoneA" {
46
+
variable"zone_a" {
44
47
type=string
45
48
description="Member A Zone. The zone determines what computing resources are available and where your data is stored and used."
count=var.smart_1_cloud_token_a!=""&& var.smart_1_cloud_token_a== var.smart_1_cloud_token_b?"To connect to Smart-1 Cloud, you must provide two different tokens":0
0 commit comments