melodic-doctor-70522
09/14/2023, 12:57 AMazure-native:network:NetworkInterface (NIC-VMWindows1-063-100-160):
error: Code="NicInUse" Message="Network Interface /subscriptions/8e23e0ca-e424-495e-b142-813621dbb51f/resourceGroups/rg-archie-nonprod-eaus2/providers/Microsoft.Network/networkInterfaces/NIC-VMWindows1-063-100 -160 is used by existing resource /subscriptions/8e23e0ca-e424-495e-b142-813621dbb51f/resourceGroups/rg-archie-nonprod-eaus2/providers/Microsoft.Compute/virtualMachines/VMWindows1-063-archie-nonprod-eaus2-160- 4. In order to delete the network interface, it must be dissociated from the resource. To learn more, see <http://aka.ms/deletenic|aka.ms/deletenic>." Details=[]
bumpy-glass-30283
09/14/2023, 11:06 AMdeletedWith
. This will not call explicit deletion on the NIC, just assumes it is deleted when you delete the VM. But I';m not sure how Azure currently handles associated resources.
https://www.pulumi.com/docs/concepts/options/melodic-doctor-70522
09/15/2023, 4:53 PM