Skip to content

Commit

Permalink
suppress case diff on charset (#4489) (#8462)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Feb 12, 2021
1 parent efefa3a commit b4b0878
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/4489.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
sql: Fixed case diff for `charset` in `google_sql_database`
```
7 changes: 4 additions & 3 deletions google/resource_sql_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ ID.`,
This does not include the project ID or instance name.`,
},
"charset": {
Type: schema.TypeString,
Computed: true,
Optional: true,
Type: schema.TypeString,
Computed: true,
Optional: true,
DiffSuppressFunc: caseDiffSuppress,
Description: `The charset value. See MySQL's
[Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
Expand Down

0 comments on commit b4b0878

Please sign in to comment.