This message was deleted.
# azure
s
This message was deleted.
b
you will need resource options. if Azure deletes the nic when you delete the VM, then you can just use
deletedWith
. 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/
Or you can try putting in Dependencies (which honestly already should be there since you use the NIC in the VM, but not sure what happens). https://www.pulumi.com/docs/concepts/options/dependson/
m
where is deleWith??