Open jwtje opened 2 years ago
@stack72 While not directly related to the bug described above, I wonder if it would make sense to have this provider track https://github.com/winebarrel/terraform-provider-mysql instead? It's continuing to be updated (vs. the current upstream which is in archive mode) and has added functionality such as https://github.com/winebarrel/terraform-provider-mysql/pull/20 to support updating grants vs. having to replace them.
👍
Currently we have to work around this by using a opts=ResourceOptions(replace_on_changes=["privileges"])
, but i have to hope this is not intended. as it feels ridiculously dirty
Hello!
Issue details
When adding a grant with pulumi-mysql like this:
and adding an extra privilege later all the priviliges set before the update will be removed.
Steps to reproduce
pulumi output:
Expected: A privilege added but initial privileges intact Actual: old priviliges removed, new privilige added.