Skip to content

Commit f676b59

Browse files
fix(CGNSPC-1866): add sensitive flag to Smart-1 Cloud token and password hash variables (#67)
Co-authored-by: shirba <shirba@checkpoint.com>
1 parent ccbedca commit f676b59

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

modules/high-availability/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,14 @@ variable "smart_1_cloud_token_a" {
223223
description = "Smart-1 Cloud Token, for configuring member A."
224224
type = string
225225
default = ""
226+
sensitive = true
226227
}
227228

228229
variable "smart_1_cloud_token_b" {
229230
description = "Smart-1 Cloud Token, for configuring member B."
230231
type = string
231232
default = ""
233+
sensitive = true
232234

233235
validation {
234236
condition = var.smart_1_cloud_token_b != "" && var.smart_1_cloud_token_a != "" ? true : var.smart_1_cloud_token_b == "" && var.smart_1_cloud_token_a == ""

modules/nva/variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ variable "maintenance_mode_password_hash" {
212212
description = "(Optional) Maintenance mode password hash, relevant only for R81.20 and higher versions."
213213
type = string
214214
default = ""
215+
sensitive = true
215216
}
216217

217218
variable "bgp_asn" {

modules/single-gateway/variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ variable "smart_1_cloud_token" {
207207
description = "Smart-1 Cloud Token."
208208
type = string
209209
default = ""
210+
sensitive = true
210211
}
211212

212213
//********************** Management Variables **************************//

0 commit comments

Comments
 (0)