pulumiverse / pulumi-esxi-native

VMWare ESXi provider to provision VMs directly on an ESXi hypervisor without a need for vCenter or vSphere.
Apache License 2.0
6 stars 3 forks source link

Error failed to connect to esxi host: client connection error #70

Open sockyone opened 7 months ago

sockyone commented 7 months ago

Summary

My configuration worked with terraform but didn't work with pulumi.

failed to connect to esxi host: client connection error

image

Diagnostics

The only version 1.0.0

Previewing update (esxi):
     Type                                Name          Plan       Info
 +   pulumi:pulumi:Stack                 esxi-esxi     create     1 warning; 6 debugs
     └─ esxi-native:index:VirtualSwitch  InternetOnly             1 error

Diagnostics:
  esxi-native:index:VirtualSwitch (InternetOnly):
    error: failed to connect to esxi host: client connection error

  pulumi:pulumi:Stack (esxi-esxi):
    debug: Registering resource: t=pulumi:pulumi:Stack, name=esxi-esxi, custom=false, remote=false
    debug: RegisterResource RPC prepared: t=pulumi:pulumi:Stack, name=esxi-esxi
    debug: RegisterResource RPC finished: resource:esxi-esxi[pulumi:pulumi:Stack]; err: null, resp: urn:pulumi:esxi::esxi::pulumi:pulumi:Stack::esxi-esxi,,,,
    debug: Running program '/Users/namphan/code/upbase/infra/esxi' in pwd '/Users/namphan/code/upbase/infra/esxi' w/ args: 
    debug: Registering resource: t=esxi-native:index:VirtualSwitch, name=InternetOnly, custom=true, remote=false
    debug: RegisterResource RPC prepared: t=esxi-native:index:VirtualSwitch, name=InternetOnly
    warning: resource plugin esxi-native is expected to have version >=1.0.0, but has 0.0.1; the wrong version may be on your path, or this may be a bug in the plugin

Message from the maintainers:

edmondshtogu commented 7 months ago

Hi @sockyone did you provide the config as explained here