I need to generate a unique hash in my ARM template for each azure virtual machines I create. I currently deploy all virtual machines inside the same resource group as I am using a shared image. This causes me a problem as I currently haven't found any way to generate unique name hashes for each deployment within a resource group.
I currently use this to generate my unique name but this only works inbetween resource groups. "unique_string": "[uniqueString(resourceGroup().id]",
Is there a way to do this per deployed instance?