Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
project adheres to [Semantic Versioning](http://semver.org/).

## [26.0.0](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v25.2.2...v26.0.0) (2025-06-18)


### ⚠ BREAKING CHANGES

* **TPG>6.31:** Support retain_backups_on_delete for mysql, safer_mysql ([#735](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/735))
* **TPG>6.17:** Adding new variables to define failover dr replica ([#728](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/728))

### Features

* Add output to retrieve passwords by user name for additional_users ([#719](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/719)) ([bca69c4](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/bca69c470464d7c6211008cd5c57d11dd1f4b6ce))
* add setting enable_dataplex_integration ([#713](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/713)) ([f5ad3e6](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/f5ad3e6e09b040928f481b4b4f7cf0c56feda9d7))
* Add support for autokey in postgres module ([#712](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/712)) ([db53c26](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/db53c267bbba6f45d2c7f027b05d46e17f286a0c))
* add support for server_ca_mode and custom SANs ([#714](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/714)) ([#736](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/736)) ([15e8be8](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/15e8be86f3ea98b36cb3e736c3494c1f40b30e04))
* Remove condition from data.google_compute_zones.available ([#684](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/684)) ([af7f20c](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/af7f20c466b292a6d210a2c21c877d72d46536ea))
* Support retain_backups_on_delete for postgres ([#737](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/737)) ([eb9b52f](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/eb9b52f549b8767ab9c951abbcff2ad657ceb1dd))
* **TPG>6.17:** Adding new variables to define failover dr replica ([#728](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/728)) ([90a3e64](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/90a3e64bc9da13885f1fa33ed0f5a24edb1406a7))
* **TPG>6.31:** Support retain_backups_on_delete for mysql, safer_mysql ([#735](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/735)) ([d0b31dd](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/d0b31dd44d23465df72a91d50755d1209e6c4bdc))


### Bug Fixes

* Disable SQL instance data_cache when data_cache_enabled variable is false ([#720](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/720)) ([7befe54](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/7befe54c9f4c9b38f5f6ffc4c21da8e14e387119))
* Postgres read-replica "psc_enabled" permadiff ([923b770](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/923b7707ec468b25f4407f43d069e4124990e965))
* replace invalid optional(string, ) with optional(string) ([#725](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/725)) ([056e436](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/056e436283f2802c8e00b3dd17390bff83f95d9b))
* truncate service account display_name in backup module ([#734](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/734)) ([edc7ee7](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/edc7ee79d66658c4458a50c83e2164c0b3da0e67))

## [25.2.2](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v25.2.1...v25.2.2) (2025-03-05)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ For MySQL :
```
module "sql-db" {
source = "GoogleCloudPlatform/sql-db/google//modules/mysql"
version = "~> 25.2"
version = "~> 26.0"
}
```

Expand Down
2 changes: 1 addition & 1 deletion examples/mssql-failover-replica/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Promote instance 2 as primary and change instance 1 as failover replica
```diff
module "mssql2" {
source = "terraform-google-modules/sql-db/google//modules/mssql"
version = "~> 25.2"
version = "~> 26.0"

- master_instance_name = module.mssql1.instance_name

Expand Down
2 changes: 1 addition & 1 deletion examples/postgresql-with-cross-region-failover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Promote instance 2 as primary and change instance 1 as failover replica
```diff
module "pg2" {
source = "terraform-google-modules/sql-db/google//modules/postgresql"
version = "~> 25.2"
version = "~> 26.0"

- master_instance_name = module.pg1.instance_name

Expand Down
2 changes: 1 addition & 1 deletion modules/mssql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Basic usage of this module is as follows:
```hcl
module "mssql" {
source = "terraform-google-modules/sql-db/google//modules/mssql"
version = "~> 25.2"
version = "~> 26.0"

name = var.name
random_instance_name = true
Expand Down
2 changes: 1 addition & 1 deletion modules/mssql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
sourceType: git
dir: /modules/mssql
version: 25.2.2
version: 26.0.0
actuationTool:
flavor: Terraform
version: ">= 1.3"
Expand Down
2 changes: 1 addition & 1 deletion modules/mssql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ terraform {
}

provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-sql-db:mssql/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:mssql/v26.0.0"
}

}
2 changes: 1 addition & 1 deletion modules/mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Functional examples are included in the [examples](../../examples/) directory. B
```hcl
module "mysql-db" {
source = "terraform-google-modules/sql-db/google//modules/mysql"
version = "~> 25.2"
version = "~> 26.0"

name = var.db_name
random_instance_name = true
Expand Down
2 changes: 1 addition & 1 deletion modules/mysql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
sourceType: git
dir: /modules/mysql
version: 25.2.2
version: 26.0.0
actuationTool:
flavor: Terraform
version: ">= 1.3"
Expand Down
4 changes: 2 additions & 2 deletions modules/mysql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ terraform {
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v26.0.0"
}
provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v26.0.0"
}

}
2 changes: 1 addition & 1 deletion modules/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Basic usage of this module is as follows:
```hcl
module "pg" {
source = "terraform-google-modules/sql-db/google//modules/postgresql"
version = "~> 25.2"
version = "~> 26.0"

name = var.pg_ha_name
random_instance_name = true
Expand Down
2 changes: 1 addition & 1 deletion modules/postgresql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
sourceType: git
dir: /modules/postgresql
version: 25.2.2
version: 26.0.0
actuationTool:
flavor: Terraform
version: ">= 1.3"
Expand Down
4 changes: 2 additions & 2 deletions modules/postgresql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ terraform {
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v26.0.0"
}
provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v26.0.0"
}

}
2 changes: 1 addition & 1 deletion modules/private_service_access/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Basic usage of this module is as follows:
```
module "test_psa" {
source = "terraform-google-modules/sql-db/google//modules/private_service_access"
version = "~> 25.2"
version = "~> 26.0"

project_id = var.project_id
vpc_network = google_compute_network.default.name
Expand Down
2 changes: 1 addition & 1 deletion modules/private_service_access/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
sourceType: git
dir: /modules/private_service_access
version: 25.2.2
version: 26.0.0
actuationTool:
flavor: Terraform
version: ">= 0.13"
Expand Down
4 changes: 2 additions & 2 deletions modules/private_service_access/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ terraform {
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-sql-db:private_service_access/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:private_service_access/v26.0.0"
}

provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-sql-db:private_service_access/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:private_service_access/v26.0.0"
}

}
2 changes: 1 addition & 1 deletion modules/safer_mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Functional examples are included in the [examples](../../examples/) directory. B
```hcl
module "safer-mysql-db" {
source = "terraform-google-modules/sql-db/google//modules/safer_mysql"
version = "~> 25.2"
version = "~> 26.0"


name = var.db_name
Expand Down
2 changes: 1 addition & 1 deletion modules/safer_mysql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
repo: https://github.com/terraform-google-modules/terraform-google-sql-db.git
sourceType: git
dir: /modules/safer_mysql
version: 25.2.2
version: 26.0.0
actuationTool:
flavor: Terraform
version: ">= 1.3"
Expand Down
2 changes: 1 addition & 1 deletion modules/safer_mysql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ terraform {
}

provider_meta "google" {
module_name = "blueprints/terraform/terraform-google-sql-db:safer_mysql/v25.2.2"
module_name = "blueprints/terraform/terraform-google-sql-db:safer_mysql/v26.0.0"
}

}