Dynamically changing the resource name

i am using terraform 0.12 version and i am creating multiple instances on the vmware cloud but i would like to differentiate between my instance via resource name.

something like we do in packer name= “vm-name{timestamp}” to make the names different from each other.