Skip to content

Commit f0cf6d2

Browse files
committed
Fixing default variables for database_encryption to prevent node pool recreation
1 parent 006410f commit f0cf6d2

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

autogen/variables.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,5 +310,8 @@ variable "database_encryption" {
310310
}]
311311
EOF
312312
type = "list"
313-
default = []
313+
default = [{
314+
state = "DECRYPTED"
315+
key_name = ""
316+
}]
314317
}

modules/private-cluster/variables.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ variable "database_encryption" {
294294
}]
295295
EOF
296296

297-
type = "list"
298-
default = []
297+
type = "list"
298+
299+
default = [{
300+
state = "DECRYPTED"
301+
key_name = ""
302+
}]
299303
}

variables.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,5 +263,8 @@ variable "database_encryption" {
263263
}]
264264
EOF
265265
type = "list"
266-
default = []
266+
default = [{
267+
state = "DECRYPTED"
268+
key_name = ""
269+
}]
267270
}

0 commit comments

Comments
 (0)