Skip to content

Commit 84b1e19

Browse files
Fixed database version (#5927) (#4236)
* Fixed database version * Updated DB versions Signed-off-by: Modular Magician <[email protected]>
1 parent 32b6889 commit 84b1e19

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.changelog/5927.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/resource_cgc_snippet_generated_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func testAccCGCSnippet_sqlDatabaseInstanceSqlserverExample(context map[string]in
147147
resource "google_sql_database_instance" "instance" {
148148
name = "tf-test-sqlserver-instance%{random_suffix}"
149149
region = "us-central1"
150-
database_version = "SQLSERVER_2017_STANDARD"
150+
database_version = "SQLSERVER_2019_STANDARD"
151151
root_password = "INSERT-PASSWORD-HERE"
152152
settings {
153153
tier = "db-custom-2-7680"
@@ -239,7 +239,7 @@ func testAccCGCSnippet_sqlSqlserverInstanceBackupExample(context map[string]inte
239239
resource "google_sql_database_instance" "default" {
240240
name = "tf-test-sqlserver-instance-backup%{random_suffix}"
241241
region = "us-central1"
242-
database_version = "SQLSERVER_2017_STANDARD"
242+
database_version = "SQLSERVER_2019_STANDARD"
243243
root_password = "INSERT-PASSWORD-HERE"
244244
settings {
245245
tier = "db-custom-2-7680"
@@ -283,7 +283,7 @@ func testAccCGCSnippet_sqlSqlserverInstanceAuthorizedNetworkExample(context map[
283283
resource "google_sql_database_instance" "default" {
284284
name = "tf-test-sqlserver-instance-with-authorized-network%{random_suffix}"
285285
region = "us-central1"
286-
database_version = "SQLSERVER_2017_STANDARD"
286+
database_version = "SQLSERVER_2019_STANDARD"
287287
root_password = "INSERT-PASSWORD-HERE"
288288
settings {
289289
tier = "db-custom-2-7680"
@@ -330,7 +330,7 @@ func testAccCGCSnippet_sqlSqlserverInstanceBackupLocationExample(context map[str
330330
resource "google_sql_database_instance" "default" {
331331
name = "tf-test-sqlserver-instance-with-backup-location%{random_suffix}"
332332
region = "us-central1"
333-
database_version = "SQLSERVER_2017_STANDARD"
333+
database_version = "SQLSERVER_2019_STANDARD"
334334
root_password = "INSERT-PASSWORD-HERE"
335335
settings {
336336
tier = "db-custom-2-7680"
@@ -374,7 +374,7 @@ func testAccCGCSnippet_sqlSqlserverInstanceBackupRetentionExample(context map[st
374374
resource "google_sql_database_instance" "default" {
375375
name = "tf-test-sqlserver-instance-backup-retention%{random_suffix}"
376376
region = "us-central1"
377-
database_version = "SQLSERVER_2017_STANDARD"
377+
database_version = "SQLSERVER_2019_STANDARD"
378378
root_password = "INSERT-PASSWORD-HERE"
379379
settings {
380380
tier = "db-custom-2-7680"

google-beta/resource_sql_database_generated_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ resource "google_sql_database" "database" {
5959
resource "google_sql_database_instance" "instance" {
6060
name = "tf-test-my-database-instance%{random_suffix}"
6161
region = "us-central1"
62-
database_version = "MYSQL_5_7"
62+
database_version = "MYSQL_8_0"
6363
settings {
6464
tier = "db-f1-micro"
6565
}

website/docs/r/sql_database.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resource "google_sql_database" "database" {
4646
resource "google_sql_database_instance" "instance" {
4747
name = "my-database-instance"
4848
region = "us-central1"
49-
database_version = "MYSQL_5_7"
49+
database_version = "MYSQL_8_0"
5050
settings {
5151
tier = "db-f1-micro"
5252
}

0 commit comments

Comments
 (0)