Open adrienkergastel opened 2 years ago
Thanks for being so thorough with your report @adrienkergastel!
Could I confirm that when you just change the name of the second materialized view, that all the resources deploy as expected? This is just to confirm that the issue you're seeing is definitely a result of the duplicate name rather than any other peripheral issues. Thanks!
It works fine if I change the name of the second materialized view.
Thank you for your quick response!
Unfortunately, it looks like this issue hasn't seen any updates in a while. If you're still encountering this problem, could you leave a quick comment to let us know so we can prioritize it?
What happened?
I have one snowflake database, with two schemas. I want to create one materialized view in each of those schemas, and I want those materialized views to have the same name.
Steps to reproduce
When doing pulumi up, everything seem to work fine. When doing pulumi up again, pulumi tries to replace the second materialized view because the schema would have apparently changed
Expected Behavior
I expect Pulumi to not try to replace the second materialized view when doing pulumi a second time in a row
Actual Behavior
Pulumi tries to replace the second materialized view
Output of
pulumi about
Additional context
Manually looking in the stack, I found weird things for the second materialized view The output seem to be inconsistent with the input.
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).