From 0914b3b538b540cd698cabf4ddbcccafb1e34cf1 Mon Sep 17 00:00:00 2001 From: noamerez Date: Sun, 9 Nov 2025 09:35:12 +0000 Subject: [PATCH] feat(VSECPC-11975): Add default value to- 'serial_console_password_hash', 'maintenance_mode_password_hash' --- modules/common/variables.tf | 2 ++ modules/high_availability_existing_vnet/variables.tf | 2 ++ modules/high_availability_new_vnet/variables.tf | 2 ++ modules/management_existing_vnet/variables.tf | 2 ++ modules/management_new_vnet/variables.tf | 2 ++ modules/mds_existing_vnet/variables.tf | 2 ++ modules/mds_new_vnet/variables.tf | 2 ++ modules/nva_into_existing_hub/variables.tf | 6 ++++-- modules/nva_into_new_vwan/variables.tf | 6 ++++-- modules/single_gateway_existing_vnet/variables.tf | 2 ++ modules/single_gateway_new_vnet/variables.tf | 2 ++ modules/vmss_existing_vnet/variables.tf | 2 ++ modules/vmss_new_vnet/variables.tf | 2 ++ 13 files changed, 30 insertions(+), 4 deletions(-) diff --git a/modules/common/variables.tf b/modules/common/variables.tf index 79da9a6..4741b8b 100755 --- a/modules/common/variables.tf +++ b/modules/common/variables.tf @@ -29,11 +29,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "tags" { diff --git a/modules/high_availability_existing_vnet/variables.tf b/modules/high_availability_existing_vnet/variables.tf index cbec18c..de4f8e6 100755 --- a/modules/high_availability_existing_vnet/variables.tf +++ b/modules/high_availability_existing_vnet/variables.tf @@ -55,11 +55,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "smart_1_cloud_token_a" { diff --git a/modules/high_availability_new_vnet/variables.tf b/modules/high_availability_new_vnet/variables.tf index 63b245d..79ca718 100755 --- a/modules/high_availability_new_vnet/variables.tf +++ b/modules/high_availability_new_vnet/variables.tf @@ -54,11 +54,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "smart_1_cloud_token_a" { diff --git a/modules/management_existing_vnet/variables.tf b/modules/management_existing_vnet/variables.tf index c80f487..ba60cb4 100755 --- a/modules/management_existing_vnet/variables.tf +++ b/modules/management_existing_vnet/variables.tf @@ -34,11 +34,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "authentication_type" { diff --git a/modules/management_new_vnet/variables.tf b/modules/management_new_vnet/variables.tf index a949027..f8f2bf3 100755 --- a/modules/management_new_vnet/variables.tf +++ b/modules/management_new_vnet/variables.tf @@ -34,11 +34,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "authentication_type" { diff --git a/modules/mds_existing_vnet/variables.tf b/modules/mds_existing_vnet/variables.tf index c941149..7b39036 100755 --- a/modules/mds_existing_vnet/variables.tf +++ b/modules/mds_existing_vnet/variables.tf @@ -34,11 +34,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "authentication_type" { diff --git a/modules/mds_new_vnet/variables.tf b/modules/mds_new_vnet/variables.tf index d7935d0..291f847 100755 --- a/modules/mds_new_vnet/variables.tf +++ b/modules/mds_new_vnet/variables.tf @@ -34,11 +34,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "authentication_type" { diff --git a/modules/nva_into_existing_hub/variables.tf b/modules/nva_into_existing_hub/variables.tf index 597cc15..d090105 100755 --- a/modules/nva_into_existing_hub/variables.tf +++ b/modules/nva_into_existing_hub/variables.tf @@ -120,11 +120,13 @@ variable "admin_SSH_key" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection. In R81.10 and below, the serial console password is also used as the maintenance mode password." type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "bgp-asn" { @@ -220,9 +222,9 @@ variable "plan_product" { } variable "plan_version" { - description = "Use the latest version of the managed application (e.g., 1.0.23) for best results. Full version list: https://support.checkpoint.com/results/sk/sk132192" + description = "Use the latest version of the managed application (e.g., 1.0.24) for best results. Full version list: https://support.checkpoint.com/results/sk/sk132192" type = string - default = "1.0.23" + default = "1.0.24" } variable "custom_license_type" { diff --git a/modules/nva_into_new_vwan/variables.tf b/modules/nva_into_new_vwan/variables.tf index 0466e20..000db66 100755 --- a/modules/nva_into_new_vwan/variables.tf +++ b/modules/nva_into_new_vwan/variables.tf @@ -131,11 +131,13 @@ variable "admin_SSH_key" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection. In R81.10 and below, the serial console password is also used as the maintenance mode password." type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions." type = string + default = "" } variable "bgp-asn" { @@ -231,9 +233,9 @@ variable "plan_product" { } variable "plan_version" { - description = "Use the latest version of the managed application (e.g., 1.0.23) for best results. Full version list: https://support.checkpoint.com/results/sk/sk132192" + description = "Use the latest version of the managed application (e.g., 1.0.24) for best results. Full version list: https://support.checkpoint.com/results/sk/sk132192" type = string - default = "1.0.23" + default = "1.0.24" } variable "custom_license_type" { diff --git a/modules/single_gateway_existing_vnet/variables.tf b/modules/single_gateway_existing_vnet/variables.tf index b7a92ef..4c56d1c 100755 --- a/modules/single_gateway_existing_vnet/variables.tf +++ b/modules/single_gateway_existing_vnet/variables.tf @@ -35,11 +35,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "smart_1_cloud_token" { diff --git a/modules/single_gateway_new_vnet/variables.tf b/modules/single_gateway_new_vnet/variables.tf index 2430f01..b599d04 100755 --- a/modules/single_gateway_new_vnet/variables.tf +++ b/modules/single_gateway_new_vnet/variables.tf @@ -39,11 +39,13 @@ variable "smart_1_cloud_token" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "authentication_type" { diff --git a/modules/vmss_existing_vnet/variables.tf b/modules/vmss_existing_vnet/variables.tf index 9aa526c..63c69fb 100755 --- a/modules/vmss_existing_vnet/variables.tf +++ b/modules/vmss_existing_vnet/variables.tf @@ -39,11 +39,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "availability_zones_num" { diff --git a/modules/vmss_new_vnet/variables.tf b/modules/vmss_new_vnet/variables.tf index 4a05217..0ef653e 100755 --- a/modules/vmss_new_vnet/variables.tf +++ b/modules/vmss_new_vnet/variables.tf @@ -34,11 +34,13 @@ variable "admin_password" { variable "serial_console_password_hash" { description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type" type = string + default = "" } variable "maintenance_mode_password_hash" { description = "Maintenance mode password hash, relevant only for R81.20 and higher versions" type = string + default = "" } variable "availability_zones_num" {