Skip to content

Commit

Permalink
sql: Add 'POSTGRES_14' to available version docs (#6069) (#4342)
Browse files Browse the repository at this point in the history
Align documentation with reality
Closes hashicorp/terraform-provider-google#10955

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored May 25, 2022
1 parent 437cb3e commit c8fed9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/6069.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none
sql: Add `POSTGRES_14` to available version docs
```
2 changes: 1 addition & 1 deletion google-beta/resource_sql_database_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ is set to true.`,
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: `The MySQL, PostgreSQL or SQL Server (beta) version to use. Supported values include MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. Database Version Policies includes an up-to-date reference of supported versions.`,
Description: `The MySQL, PostgreSQL or SQL Server (beta) version to use. Supported values include MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, POSTGRES_14, SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. Database Version Policies includes an up-to-date reference of supported versions.`,
},

"encryption_key_name": {
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/sql_database_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ It is recommended to not set this field (or set it to true) until you're ready t
```hcl
resource "google_sql_database_instance" "main" {
name = "main-instance"
database_version = "POSTGRES_11"
database_version = "POSTGRES_14"
region = "us-central1"
settings {
Expand Down Expand Up @@ -72,7 +72,7 @@ locals {
resource "google_sql_database_instance" "postgres" {
name = "postgres-instance-${random_id.db_name_suffix.hex}"
database_version = "POSTGRES_11"
database_version = "POSTGRES_14"
settings {
tier = "db-f1-micro"
Expand Down Expand Up @@ -174,7 +174,7 @@ The following arguments are supported:
* `database_version` - (Required) The MySQL, PostgreSQL or
SQL Server version to use. Supported values include `MYSQL_5_6`,
`MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
`POSTGRES_12`, `POSTGRES_13`, `SQLSERVER_2017_STANDARD`,
`POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `SQLSERVER_2017_STANDARD`,
`SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
`SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
`SQLSERVER_2019_WEB`.
Expand Down

0 comments on commit c8fed9e

Please sign in to comment.