sql_mode
in an RDS parameter group always causes an update
#886
Labels
sql_mode
in an RDS parameter group always causes an update
#886
Given this:
You can apply that, and a parameter group will be made with sql_mode=STRICT_ALL_TABLES. The state file will reflect that fact:
But now do a plan:
If I'm reading this correctly, this means Terraform read the resource, and thinks that the parameter is empty and it needs to create it. I'm not expecting any update because the parameter group already exists with
sql_mode=STRICT_ALL_TABLES
in RDS.Confusingly, my attempts to instrument the conversation with RDS indicates that Terraform is getting
sql_mode=STRICT_ALL_TABLES
from RDS, at least as far asflattenParameters
. And oddly, I can reproduce this only withsql_mode
-- every other parameter I've tried works fine. Not sure what's special about that one, and I'm out of ideas.The text was updated successfully, but these errors were encountered: