Skip to content

Commit

Permalink
chore(master): release 21.0.0 (#614)
Browse files Browse the repository at this point in the history
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
  • Loading branch information
release-please[bot] authored Jul 29, 2024
1 parent d7280da commit 16460b5
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 18 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@ 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/).

## [21.0.0](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v20.2.0...v21.0.0) (2024-07-25)


### ⚠ BREAKING CHANGES

* **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))
* 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))
* 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))

### Features

* 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))
* 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))
* 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))
* **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))


### Bug Fixes

* 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))
* 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))

## [20.2.0](https://github.com/terraform-google-modules/terraform-google-sql-db/compare/v20.1.0...v20.2.0) (2024-06-06)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ For MySQL :
```
module "sql-db" {
source = "GoogleCloudPlatform/sql-db/google//modules/mysql"
version = "~> 20.2"
version = "~> 21.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 = "~> 20.2"
version = "~> 21.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 = "~> 20.2"
version = "~> 21.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 = "~> 20.2"
version = "~> 21.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: 20.2.0
version: 21.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/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:mssql/v21.0.0"
}

}
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: 20.2.0
version: 21.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/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v21.0.0"
}
provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:mysql/v21.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 = "~> 20.2"
version = "~> 21.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: 20.2.0
version: 21.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/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v21.0.0"
}
provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:postgresql/v21.0.0"
}

}
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: 20.2.0
version: 21.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/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:private_service_access/v21.0.0"
}

provider_meta "google-beta" {
module_name = "blueprints/terraform/terraform-google-sql-db:private_service_access/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:private_service_access/v21.0.0"
}

}
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: 20.2.0
version: 21.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/v20.2.0"
module_name = "blueprints/terraform/terraform-google-sql-db:safer_mysql/v21.0.0"
}

}

0 comments on commit 16460b5

Please sign in to comment.