Skip to content

Commit 271880d

Browse files
feat(VSECPC-11975): Add default value to- 'serial_console_password_hash', 'maintenance_mode_password_hash' (#28)
Co-authored-by: noamerez <noamerez@checkpoint.com>
1 parent d9b2e74 commit 271880d

File tree

13 files changed

+30
-4
lines changed

13 files changed

+30
-4
lines changed

modules/common/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ variable "admin_password" {
2929
variable "serial_console_password_hash" {
3030
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
3131
type = string
32+
default = ""
3233
}
3334

3435
variable "maintenance_mode_password_hash" {
3536
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
3637
type = string
38+
default = ""
3739
}
3840

3941
variable "tags" {

modules/high_availability_existing_vnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ variable "admin_password" {
5555
variable "serial_console_password_hash" {
5656
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
5757
type = string
58+
default = ""
5859
}
5960

6061
variable "maintenance_mode_password_hash" {
6162
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
6263
type = string
64+
default = ""
6365
}
6466

6567
variable "smart_1_cloud_token_a" {

modules/high_availability_new_vnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ variable "admin_password" {
5454
variable "serial_console_password_hash" {
5555
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
5656
type = string
57+
default = ""
5758
}
5859

5960
variable "maintenance_mode_password_hash" {
6061
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
6162
type = string
63+
default = ""
6264
}
6365

6466
variable "smart_1_cloud_token_a" {

modules/management_existing_vnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ variable "admin_password" {
3434
variable "serial_console_password_hash" {
3535
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
3636
type = string
37+
default = ""
3738
}
3839

3940
variable "maintenance_mode_password_hash" {
4041
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
4142
type = string
43+
default = ""
4244
}
4345

4446
variable "authentication_type" {

modules/management_new_vnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ variable "admin_password" {
3434
variable "serial_console_password_hash" {
3535
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
3636
type = string
37+
default = ""
3738
}
3839

3940
variable "maintenance_mode_password_hash" {
4041
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
4142
type = string
43+
default = ""
4244
}
4345

4446
variable "authentication_type" {

modules/mds_existing_vnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ variable "admin_password" {
3434
variable "serial_console_password_hash" {
3535
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
3636
type = string
37+
default = ""
3738
}
3839

3940
variable "maintenance_mode_password_hash" {
4041
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
4142
type = string
43+
default = ""
4244
}
4345

4446
variable "authentication_type" {

modules/mds_new_vnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ variable "admin_password" {
3434
variable "serial_console_password_hash" {
3535
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
3636
type = string
37+
default = ""
3738
}
3839

3940
variable "maintenance_mode_password_hash" {
4041
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
4142
type = string
43+
default = ""
4244
}
4345

4446
variable "authentication_type" {

modules/nva_into_existing_hub/variables.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,13 @@ variable "admin_SSH_key" {
120120
variable "serial_console_password_hash" {
121121
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."
122122
type = string
123+
default = ""
123124
}
124125

125126
variable "maintenance_mode_password_hash" {
126127
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
127128
type = string
129+
default = ""
128130
}
129131

130132
variable "bgp-asn" {
@@ -220,9 +222,9 @@ variable "plan_product" {
220222
}
221223

222224
variable "plan_version" {
223-
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"
225+
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"
224226
type = string
225-
default = "1.0.23"
227+
default = "1.0.24"
226228
}
227229

228230
variable "custom_license_type" {

modules/nva_into_new_vwan/variables.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,13 @@ variable "admin_SSH_key" {
131131
variable "serial_console_password_hash" {
132132
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."
133133
type = string
134+
default = ""
134135
}
135136

136137
variable "maintenance_mode_password_hash" {
137138
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions."
138139
type = string
140+
default = ""
139141
}
140142

141143
variable "bgp-asn" {
@@ -231,9 +233,9 @@ variable "plan_product" {
231233
}
232234

233235
variable "plan_version" {
234-
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"
236+
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"
235237
type = string
236-
default = "1.0.23"
238+
default = "1.0.24"
237239
}
238240

239241
variable "custom_license_type" {

modules/single_gateway_existing_vnet/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ variable "admin_password" {
3535
variable "serial_console_password_hash" {
3636
description = "Optional parameter, used to enable serial console connection in case of SSH key as authentication type"
3737
type = string
38+
default = ""
3839
}
3940

4041
variable "maintenance_mode_password_hash" {
4142
description = "Maintenance mode password hash, relevant only for R81.20 and higher versions"
4243
type = string
44+
default = ""
4345
}
4446

4547
variable "smart_1_cloud_token" {

0 commit comments

Comments
 (0)