Skip to content

Commit 3422f69

Browse files
committed
Fixing default variables for database_encryption to prevent node pool recreation
1 parent 9fc98fe commit 3422f69

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
@@ -298,5 +298,8 @@ variable "database_encryption" {
298298
}]
299299
EOF
300300
type = "list"
301-
default = []
301+
default = [{
302+
state = "DECRYPTED"
303+
key_name = ""
304+
}]
302305
}

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
@@ -261,5 +261,8 @@ variable "database_encryption" {
261261
}]
262262
EOF
263263
type = "list"
264-
default = []
264+
default = [{
265+
state = "DECRYPTED"
266+
key_name = ""
267+
}]
265268
}

0 commit comments

Comments
 (0)