https://pulumi.com logo
Title
s

sparse-area-37315

10/07/2022, 7:08 PM
Hello Im creating a simple Virtual Network using the Azure Native library which works fine. I then create 3 Subnets using the same library and it connects onto the VNET no problem. When I go to do a simple pulumi refresh after all resources have been created it will remove it from the VNET causing my next pulumi up command to fully delete the subnet. Has anyone experienced this issue before? This is my first time using this library am I just missing something simple?
s

salmon-account-74572

10/07/2022, 10:35 PM
Can you share your code?
s

sparse-area-37315

10/07/2022, 10:55 PM
After some more research i believe the issue im running into is https://github.com/pulumi/pulumi-azure-native/issues/611
After adding in a ignore_changes it seems to "fix" the issue
I can still share my code if you would like
s

salmon-account-74572

10/07/2022, 10:58 PM
No, that’s OK. I agree that issue does seem to describe the problem you’re experiencing.