diff --git a/.changelog/4489.txt b/.changelog/4489.txt new file mode 100644 index 00000000000..4c53275d253 --- /dev/null +++ b/.changelog/4489.txt @@ -0,0 +1,3 @@ +```release-note:bug +sql: Fixed case diff for `charset` in `google_sql_database` +``` diff --git a/google/resource_sql_database.go b/google/resource_sql_database.go index 8c66ecb6091..13075d8e902 100644 --- a/google/resource_sql_database.go +++ b/google/resource_sql_database.go @@ -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)