Skip to content

Commit 4c1cf63

Browse files
committed
Set backward compatible defaults
1 parent b368589 commit 4c1cf63

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

modules/postgresql/variables.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ variable "backup_configuration" {
130130
start_time = string
131131
})
132132
default = {
133-
binary_log_enabled = false
134-
enabled = false
135-
start_time = ""
133+
binary_log_enabled = null
134+
enabled = null
135+
start_time = null
136136
}
137137
}
138138

@@ -258,7 +258,10 @@ variable "read_replica_configuration" {
258258
connect_retry_interval = number
259259
dump_file_path = string
260260
})
261-
default = null
261+
default = {
262+
connect_retry_interval = null
263+
dump_file_path = null
264+
}
262265
}
263266

264267
variable "read_replica_user_labels" {

modules/private_service_access/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ variable "labels" {
4747
type = map(string)
4848
default = {}
4949
}
50-

modules/safer_mysql/variables.tf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ variable "backup_configuration" {
137137
start_time = string
138138
})
139139
default = {
140-
binary_log_enabled = false
141-
enabled = false
142-
start_time = ""
140+
binary_log_enabled = null
141+
enabled = null
142+
start_time = null
143143
}
144144
}
145145

@@ -482,4 +482,3 @@ variable "delete_timeout" {
482482
type = string
483483
default = "15m"
484484
}
485-

0 commit comments

Comments
 (0)