Hello,
I tried to dig into this a little more.
It seems that, with vCenter 5.5, the method used to find VMs (searchIndex.FindByUuid) does not work with templates (see this discussion : https://github.com/terraform-providers/terraform-provider-vsphere/issues/271 or this one : https://communities.vmware.com/thread/400607).
Is there a way to search by name instead when using vSphere 5.5 ?
Regards,
Thomas.