Skip to content

Commit 16460b5

Browse files
chore(master): release 21.0.0 (#614)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
1 parent d7280da commit 16460b5

File tree

16 files changed

+40
-18
lines changed

16 files changed

+40
-18
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ 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+
## [21.0.0](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v20.2.0...v21.0.0) (2024-07-25)
9+
10+
11+
### ⚠ BREAKING CHANGES
12+
13+
* **TPG>5.38:** added deletion_policy to private service access sub-module and promoted to GA provider ([#620](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/620))
14+
* Cleanup of old instance backups. Change role roles/cloudsql.editor to roles/cloudsql.admin ([#618](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/618))
15+
* Add enable_google_ml_integration setting for database instance and configurable project roles for default database service account ([#615](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/615))
16+
17+
### Features
18+
19+
* Add enable_google_ml_integration setting for database instance and configurable project roles for default database service account ([#615](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/615)) ([83bbaa3](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/83bbaa3df5165fa07338c485fda3bcbb2db6a012))
20+
* Add new output called env_vars for postgresql ([#612](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/612)) ([f02e3fd](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/f02e3fdf69d0d0b238ff201ac45ff7d192935050))
21+
* enable data_cache_config for postgresql read replicas ([#619](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/619)) ([d7280da](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/d7280da309bb338a8058a3073c992592bd9162d6))
22+
* **TPG>5.38:** added deletion_policy to private service access sub-module and promoted to GA provider ([#620](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/620)) ([cf5f184](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/cf5f184df0be46d37d9eabfab53c81bb621f1881))
23+
24+
25+
### Bug Fixes
26+
27+
* Backup - set IAM conditions conditionally ([#616](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/616)) ([8780714](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/87807148a282136fbd8b8f74652e9cc89bf8f7d4))
28+
* Cleanup of old instance backups. Change role roles/cloudsql.editor to roles/cloudsql.admin ([#618](https://github.com/terraform-google-modules/terraform-google-sql-db/issues/618)) ([7310051](https://github.com/terraform-google-modules/terraform-google-sql-db/commit/731005118667ae86fba7b7f978c3175fbf0a8d6d))
29+
830
## [20.2.0](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v20.1.0...v20.2.0) (2024-06-06)
931

1032

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ For MySQL :
7979
```
8080
module "sql-db" {
8181
source = "GoogleCloudPlatform/sql-db/google//modules/mysql"
82-
version = "~> 20.2"
82+
version = "~> 21.0"
8383
}
8484
```
8585

examples/mssql-failover-replica/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Promote instance 2 as primary and change instance 1 as failover replica
2323
```diff
2424
module "mssql2" {
2525
source = "terraform-google-modules/sql-db/google//modules/mssql"
26-
version = "~> 20.2"
26+
version = "~> 21.0"
2727

2828
- master_instance_name = module.mssql1.instance_name
2929

examples/postgresql-with-cross-region-failover/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Promote instance 2 as primary and change instance 1 as failover replica
2626
```diff
2727
module "pg2" {
2828
source = "terraform-google-modules/sql-db/google//modules/postgresql"
29-
version = "~> 20.2"
29+
version = "~> 21.0"
3030

3131
- master_instance_name = module.pg1.instance_name
3232

modules/mssql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Basic usage of this module is as follows:
1212
```hcl
1313
module "mssql" {
1414
source = "terraform-google-modules/sql-db/google//modules/mssql"
15-
version = "~> 20.2"
15+
version = "~> 21.0"
1616
1717
name = var.name
1818
random_instance_name = true

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: 20.2.0
28+
version: 21.0.0
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/v20.2.0"
39+
module_name = "blueprints/terraform/terraform-google-sql-db:mssql/v21.0.0"
4040
}
4141

4242
}

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: 20.2.0
28+
version: 21.0.0
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/v20.2.0"
39+
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v21.0.0"
4040
}
4141
provider_meta "google-beta" {
42-
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v20.2.0"
42+
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v21.0.0"
4343
}
4444

4545
}

modules/postgresql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Basic usage of this module is as follows:
1313
```hcl
1414
module "pg" {
1515
source = "terraform-google-modules/sql-db/google//modules/postgresql"
16-
version = "~> 20.2"
16+
version = "~> 21.0"
1717
1818
name = var.pg_ha_name
1919
random_instance_name = true

0 commit comments

Comments
 (0)