If you manually rename a resource and refer to it by resource ID, I don't think ARM understands anything about it and assumes it's a new resource. That's just from using ARM, though, I don't know it's internals.
They are investing a good amount in ARM lately though. The vs code language server is pretty good and export template got much better
They are investing a good amount in ARM lately though. The vs code language server is pretty good and export template got much better