Skip to content

Commit 8397cd5

Browse files
authored
Merge branch 'main' into backup_configuration
2 parents 5cc9d9e + 8fc9701 commit 8397cd5

File tree

13 files changed

+100
-19
lines changed

13 files changed

+100
-19
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
66
project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [26.2.2](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v26.2.1...v26.2.2) (2025-09-30)
9+
10+
11+
### Bug Fixes
12+
13+
* 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))
14+
815
## [26.2.1](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v26.2.0...v26.2.1) (2025-09-03)
916

1017

modules/mssql/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
2626
sourceType: git
2727
dir: /modules/mssql
28-
version: 26.2.1
28+
version: 26.2.2
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3"

modules/mssql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ terraform {
3636
}
3737

3838
provider_meta "google-beta" {
39-
module_name = "blueprints/terraform/terraform-google-sql-db:mssql/v26.2.1"
39+
module_name = "blueprints/terraform/terraform-google-sql-db:mssql/v26.2.2"
4040
}
4141

4242
}

modules/mysql/metadata.display.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ spec:
104104
enabled: true
105105
binary_log_enabled: true
106106
properties:
107+
transaction_log_retention_days:
108+
name: transaction_log_retention_days
109+
title: Transaction Log Retention Days
110+
min: 1
111+
max: 35
107112
retention_unit:
108113
name: retention_unit
109114
title: Retention Unit
@@ -209,6 +214,7 @@ spec:
209214
name: disk_size
210215
title: Disk Size
211216
level: 1
217+
min: 10
212218
disk_type:
213219
name: disk_type
214220
title: Disk Type
@@ -283,6 +289,17 @@ spec:
283289
insights_config:
284290
name: insights_config
285291
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
286303
instance_type:
287304
name: instance_type
288305
title: Instance Type
@@ -328,9 +345,13 @@ spec:
328345
maintenance_window_day:
329346
name: maintenance_window_day
330347
title: Maintenance Window Day
348+
min: 1
349+
max: 7
331350
maintenance_window_hour:
332351
name: maintenance_window_hour
333352
title: Maintenance Window Hour
353+
min: 0
354+
max: 23
334355
maintenance_window_update_track:
335356
name: maintenance_window_update_track
336357
title: Maintenance Window Update Track
@@ -376,6 +397,12 @@ spec:
376397
title: Read Replica Name
377398
regexValidation: ^[a-z][a-z0-9-]{0,95}[a-z0-9]$
378399
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.
400+
disk_autoresize_limit:
401+
name: disk_autoresize_limit
402+
title: Disk Autoresize Limit
403+
disk_size:
404+
name: disk_size
405+
title: Disk Size
379406
edition:
380407
name: edition
381408
title: Edition
@@ -400,6 +427,23 @@ spec:
400427
value: PD_SSD
401428
- label: PD_HDD
402429
value: PD_HDD
430+
backup_configuration:
431+
name: backup_configuration
432+
title: Backup Configuration
433+
insights_config:
434+
name: insights_config
435+
title: Insights Config
436+
properties:
437+
query_plans_per_minute:
438+
name: query_plans_per_minute
439+
title: Query Plans Per Minute
440+
min: 0
441+
max: 20
442+
query_string_length:
443+
name: query_string_length
444+
title: Query String Length
445+
min: 256
446+
max: 4500
403447
ip_configuration:
404448
name: ip_configuration
405449
title: Ip Configuration

modules/mysql/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
2626
sourceType: git
2727
dir: /modules/mysql
28-
version: 26.2.1
28+
version: 26.2.2
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3"

modules/mysql/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ terraform {
3636
}
3737

3838
provider_meta "google" {
39-
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v26.2.1"
39+
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v26.2.2"
4040
}
4141
provider_meta "google-beta" {
42-
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v26.2.1"
42+
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v26.2.2"
4343
}
4444

4545
}

modules/postgresql/metadata.display.yaml

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ spec:
179179
name: disk_size
180180
title: Disk Size
181181
level: 1
182+
min: 10
182183
disk_type:
183184
name: disk_type
184185
title: Disk Type
@@ -253,6 +254,17 @@ spec:
253254
insights_config:
254255
name: insights_config
255256
title: Insights Config
257+
properties:
258+
query_plans_per_minute:
259+
name: query_plans_per_minute
260+
title: Query Plans Per Minute
261+
min: 0
262+
max: 20
263+
query_string_length:
264+
name: query_string_length
265+
title: Query String Length
266+
min: 256
267+
max: 4500
256268
instance_type:
257269
name: instance_type
258270
title: Instance Type
@@ -297,9 +309,13 @@ spec:
297309
maintenance_window_day:
298310
name: maintenance_window_day
299311
title: Maintenance Window Day
312+
min: 1
313+
max: 7
300314
maintenance_window_hour:
301315
name: maintenance_window_hour
302316
title: Maintenance Window Hour
317+
min: 0
318+
max: 23
303319
maintenance_window_update_track:
304320
name: maintenance_window_update_track
305321
title: Maintenance Window Update Track
@@ -369,6 +385,20 @@ spec:
369385
value: PD_SSD
370386
- label: PD_HDD
371387
value: PD_HDD
388+
insights_config:
389+
name: insights_config
390+
title: Insights Config
391+
properties:
392+
query_plans_per_minute:
393+
name: query_plans_per_minute
394+
title: Query Plans Per Minute
395+
min: 0
396+
max: 20
397+
query_string_length:
398+
name: query_string_length
399+
title: Query String Length
400+
min: 256
401+
max: 4500
372402
ip_configuration:
373403
name: ip_configuration
374404
title: Ip Configuration
@@ -382,12 +412,12 @@ spec:
382412
name: ssl_mode
383413
title: Ssl Mode
384414
enumValueLabels:
385-
- label: ALLOW_UNENCRYPTED_AND_ENCRYPTED
386-
value: ALLOW_UNENCRYPTED_AND_ENCRYPTED
387-
- label: ENCRYPTED_ONLY
388-
value: ENCRYPTED_ONLY
389-
- label: TRUSTED_CLIENT_CERTIFICATE_REQUIRED
390-
value: TRUSTED_CLIENT_CERTIFICATE_REQUIRED
415+
- label: ALLOW_UNENCRYPTED_AND_ENCRYPTED
416+
value: ALLOW_UNENCRYPTED_AND_ENCRYPTED
417+
- label: ENCRYPTED_ONLY
418+
value: ENCRYPTED_ONLY
419+
- label: TRUSTED_CLIENT_CERTIFICATE_REQUIRED
420+
value: TRUSTED_CLIENT_CERTIFICATE_REQUIRED
391421
region:
392422
name: region
393423
title: Region

modules/postgresql/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
2626
sourceType: git
2727
dir: /modules/postgresql
28-
version: 26.2.1
28+
version: 26.2.2
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3"

modules/postgresql/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ terraform {
3636
}
3737

3838
provider_meta "google" {
39-
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v26.2.1"
39+
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v26.2.2"
4040
}
4141
provider_meta "google-beta" {
42-
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v26.2.1"
42+
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v26.2.2"
4343
}
4444

4545
}

modules/private_service_access/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
2626
sourceType: git
2727
dir: /modules/private_service_access
28-
version: 26.2.1
28+
version: 26.2.2
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3"

0 commit comments

Comments
 (0)