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/mssql/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ module "mssql" {
37
37
| additional\_databases | A list of databases to be created in your cluster | <pre>list(object({<br> name = string<br> charset = string<br> collation = string<br> }))</pre> |`[]`| no |
38
38
| additional\_users | A list of users to be created in your cluster. A random password would be set for the user if the `random_password` variable is set. | <pre>list(object({<br> name = string<br> password = string<br> random_password = bool<br> }))</pre> |`[]`| no |
39
39
| availability\_type | The availability type for the Cloud SQL instance.This is only used to set up high availability for the MSSQL instance. Can be either `ZONAL` or `REGIONAL`. |`string`|`"ZONAL"`| no |
| connector\_enforcement | Enforce that clients use the connector library |`bool`|`false`| no |
42
42
| create\_timeout | The optional timeout that is applied to limit long database creates. |`string`|`"30m"`| no |
43
43
| data\_cache\_enabled | Whether data cache is enabled for the instance. Defaults to false. Feature is only available for ENTERPRISE\_PLUS tier and supported database\_versions |`bool`|`false`| no |
Copy file name to clipboardExpand all lines: modules/mysql/metadata.display.yaml
+53Lines changed: 53 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
@@ -348,6 +369,15 @@ spec:
348
369
password_validation_policy_config:
349
370
name: password_validation_policy_config
350
371
title: Password Validation Policy Config
372
+
properties:
373
+
complexity:
374
+
name: complexity
375
+
title: complexity
376
+
enumValueLabels:
377
+
- label: COMPLEXITY_DEFAULT
378
+
value: COMPLEXITY_DEFAULT
379
+
- label: COMPLEXITY_UNSPECIFIED
380
+
value: COMPLEXITY_UNSPECIFIED
351
381
pricing_plan:
352
382
name: pricing_plan
353
383
title: Pricing Plan
@@ -376,6 +406,12 @@ spec:
376
406
title: Read Replica Name
377
407
regexValidation: ^[a-z][a-z0-9-]{0,95}[a-z0-9]$
378
408
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