Thanks! however this doesnt wok either (already tried that) Conveniently though, if you just use /vm at the end of the vi locator, the tool is nice enough to list all the vm&template folders present on the VMWare datacenter you gave it. first it gives the error
Error: Found wrong kind of object (Folder). Possible completions are:
Then it lists all the folders.
My TST2-300 folder already is present, and does show up in the list. I created it with the python sdk. But then when I try to use /vm/TST2-300 at the end of the location then I still get an error:
Error: Locator does not refer to an object: vi://$TF_VAR_vsphere_user:$TF_VAR_vsphere_pass@esxic.int.com/VMWAREDC/vm/TST2-300
I get same thing if I use /TST1-pub at the end (the hostname of the VM Im trying to create)
Theres just got to be something im missing here. Thanks!