I discovered an issue with the ReadDatabase function when the collation is the default for the charset. While it makes the query to retrieve the default collation, it does not set the "default_character_set" and "default_collation" values on the ResourceData object.
I discovered an issue with the
ReadDatabase
function when the collation is the default for the charset. While it makes the query to retrieve the default collation, it does not set the "default_character_set" and "default_collation" values on the ResourceData object.Steps to Reproduce
Expected Behavior
Terraform should detect the modified collation and attempt to update the database
Actual Behavior
Terraform does not recognize the modification to collation and acts as though the database is still "utf8_bin"