Closed mlinton closed 3 years ago
Sorry, I don't support detectionlab, or any provisioners. The error you see is concerning the 'host' line of the remote-exec provioner. It looks like you are setting network parameters and gateway there... Take a look at some closed issues and the wiki concerning networking...
Ok thanks!
When attempting to apply an existing terraform plan, I get the message "Error: host for provisioner cannot be empty"
I am using terraform on a Macos machine, and attempting to build the DetectionLab (https://www.detectionlab.network/deployment/esxi/) environment.
It appears that the esxi_guest.logger is failing, but I'm not sure why and what the best way to fix it would be. I would think that it would work based on the logger guest configuration, but maybe I'm not understanding what the host option needs to be for the provisioner.
In variables.tf I specified the ip address of the esxi host, is this correct?
Thanks again for your help.
Here is the result of the terraform init:
Here is the result of terraform plan:
Here is what happens when I try to apply it:
Here is the contents of main.tf
Here is the contents of variables.tf
Expected behavior A clear and concise description of what you expected to happen.
Terraform files Provide a minimalist main.tf and other terraform files that reproduces your issue. If your problem is related to terraform plan/apply/etc, most likely these files will be REQUIRED.
Desktop (please complete the following information):
Additional context