You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add min max validations ([#776](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/776)) ([9f66839](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/9f668399569eb7bae35dd369f67213afd271dc81))
Copy file name to clipboardExpand all lines: modules/mysql/metadata.display.yaml
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,11 @@ spec:
104
104
enabled: true
105
105
binary_log_enabled: true
106
106
properties:
107
+
transaction_log_retention_days:
108
+
name: transaction_log_retention_days
109
+
title: Transaction Log Retention Days
110
+
min: 1
111
+
max: 35
107
112
retention_unit:
108
113
name: retention_unit
109
114
title: Retention Unit
@@ -209,6 +214,7 @@ spec:
209
214
name: disk_size
210
215
title: Disk Size
211
216
level: 1
217
+
min: 10
212
218
disk_type:
213
219
name: disk_type
214
220
title: Disk Type
@@ -283,6 +289,17 @@ spec:
283
289
insights_config:
284
290
name: insights_config
285
291
title: Insights Config
292
+
properties:
293
+
query_plans_per_minute:
294
+
name: query_plans_per_minute
295
+
title: Query Plans Per Minute
296
+
min: 0
297
+
max: 20
298
+
query_string_length:
299
+
name: query_string_length
300
+
title: Query String Length
301
+
min: 256
302
+
max: 4500
286
303
instance_type:
287
304
name: instance_type
288
305
title: Instance Type
@@ -328,9 +345,13 @@ spec:
328
345
maintenance_window_day:
329
346
name: maintenance_window_day
330
347
title: Maintenance Window Day
348
+
min: 1
349
+
max: 7
331
350
maintenance_window_hour:
332
351
name: maintenance_window_hour
333
352
title: Maintenance Window Hour
353
+
min: 0
354
+
max: 23
334
355
maintenance_window_update_track:
335
356
name: maintenance_window_update_track
336
357
title: Maintenance Window Update Track
@@ -376,6 +397,12 @@ spec:
376
397
title: Read Replica Name
377
398
regexValidation: ^[a-z][a-z0-9-]{0,95}[a-z0-9]$
378
399
validation: Read replica names must be between 1 and 97 characters long, start with a lowercase letter, and end with a lowercase letter or number. Read replica names can only contain lowercase letters, numbers, and hyphens.
0 commit comments