Template path to long for Terraform


I am trying to start a VM via a template on vSphere but the path to the template is to long.

Currently the path is 135 characters long but the error says it needs to be between 1 - 80.
The path is so long because we have a resource pool inside a resource pool.

Is there a way to fix this or a work around?

Kind regards,