Closed darkdrgn2k closed 5 years ago
@darkdrgn2k I noticed this line in the log:
2018-07-30T15:22:04.835-0400 [DEBUG] plugin.terraform-provider-virtualbox.exe: pid-7560-server.go:52: [ERR] plugin init: strconv.ParseInt: parsing "": invalid syntax
Could you also post the Terraform file(s) you use as a Github gist plz?
using example found in example folder inn Github repo
issue continues
2019-01-21T16:41:03.922-0500 [DEBUG] plugin.terraform-provider-virtualbox.exe: pid-9436-server.go:52: [ERR] plugin init: strconv.ParseInt: parsing "": invalid syntax
Sample main.tf file
resource "virtualbox_vm" "node" {
cpus = 2
name = "test"
url = "https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/20180206.0.0/providers/virtualbox.box"
image = "virtualbox-ubuntu.box"
memory = "512 mib",
network_adapter {
type = "bridged",
host_interface = "en0",
}
count = 1
}
output "IPAddr" {
value = "${element(virtualbox_vm.node.*.network_adapter.0.ipv4_address, 1)}"
}
output "IPAddr_2" {
value = "${element(virtualbox_vm.node.*.network_adapter.0.ipv4_address, 2)}"
}
@darkdrgn2k I am going over old issues and seeing are the problems still occurring. Can you try again and let me know can I close the issue?
Since I received no reply, I will close this issue. Feel free to reopen it if needed.