josenk / terraform-provider-esxi

Terraform-provider-esxi plugin
GNU General Public License v3.0
540 stars 154 forks source link

ovftool fails when ESXi management is accessed via bastion server #111

Closed twss closed 4 years ago

twss commented 4 years ago

I have an SSH bastion setup with LocalForwarding as follows:

SSH on 2222 is fine, however ovftool assumes the connection is being established over port 443, and as a result fails:

The manifest validates
Error: Internal error: Failed to connect to remote host [127.0.0.1] due to [No version for VMODL calls to <cs p:00007fac651bb210, TCP:127.0.0.1:443>]
Completed with errors

exit status 1
josenk commented 4 years ago

Thanks for the PR. I published V1.7.0 with your changes!

https://github.com/josenk/terraform-provider-esxi/releases/tag/v1.7.0