Resource Pool error main.tf

Hi,
i’ve tried to create a vm vmware from template but i still have the resource pool problem,
in our infrastructure we haven’t created a specific resource pool but in the terraform scripts they are required,
here’s the error displayed:
Error: disk.0: ServerFaultCode: The object ‘vim.Datastore:’ has already been deleted or has not been completely created

│ with vsphere_virtual_machine.terraformtest,
│ on main.tf line 21, in resource “vsphere_virtual_machine” “terraformtest”:
│ 21: resource “vsphere_virtual_machine” “terraformtest” {
knowing that the main.tf is it works when I do terraform init and terraform plan except in the apply command I got this error.
i tried to put the tree dc/cluster/host but it doesn’t work,
anyone have an idea please !
Thanks