Skip to content

Commit 6918c8e

Browse files
Allow MYSQL_5_5 for database_version (#4625) (#3102)
Signed-off-by: Modular Magician <[email protected]>
1 parent 5ceb93e commit 6918c8e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.changelog/4625.txt

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

google-beta/resource_sql_source_representation_instance.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ func resourceSQLSourceRepresentationInstance() *schema.Resource {
4747
Type: schema.TypeString,
4848
Required: true,
4949
ForceNew: true,
50-
ValidateFunc: validation.StringInSlice([]string{"MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0"}, false),
51-
Description: `The MySQL version running on your source database server. Possible values: ["MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0"]`,
50+
ValidateFunc: validation.StringInSlice([]string{"MYSQL_5_5", "MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0"}, false),
51+
Description: `The MySQL version running on your source database server. Possible values: ["MYSQL_5_5", "MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0"]`,
5252
},
5353
"name": {
5454
Type: schema.TypeString,

website/docs/r/sql_source_representation_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The following arguments are supported:
6161
* `database_version` -
6262
(Required)
6363
The MySQL version running on your source database server.
64-
Possible values are `MYSQL_5_6`, `MYSQL_5_7`, and `MYSQL_8_0`.
64+
Possible values are `MYSQL_5_5`, `MYSQL_5_6`, `MYSQL_5_7`, and `MYSQL_8_0`.
6565

6666
* `host` -
6767
(Required)

0 commit comments

Comments
 (0)