You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
}`
│ Error: [ERROR] Wait VM until ready: waiting for VM (node-01) to become ready: [ERROR] can't convert vbox network to terraform data: No match with get guestproperty output │ │ with virtualbox_vm.node[0], │ on main.tf line 10, in resource "virtualbox_vm" "node": │ 10: resource "virtualbox_vm" "node" {
The text was updated successfully, but these errors were encountered:
Hi there! What could to be this error?
I'm running vbox v6.1
When I start the vm created manually, it starts normally.
`terraform {
required_providers {
virtualbox = {
source = "terra-farm/virtualbox"
version = "0.2.2-alpha.1"
}
}
}
resource "virtualbox_vm" "node" {
count = 1
name = format("node-%02d", count.index + 1)
image = "https://app.vagrantup.com/ubuntu/boxes/bionic64/versions/20210916.0.0/providers/virtualbox.box"
cpus = 2
memory = "1024 mib"
#user_data = file("user_data")
network_adapter {
type = "hostonly"
host_interface = "VirtualBox Host-Only Ethernet Adapter"
}
}
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)
}`
│ Error: [ERROR] Wait VM until ready: waiting for VM (node-01) to become ready: [ERROR] can't convert vbox network to terraform data: No match with get guestproperty output │ │ with virtualbox_vm.node[0], │ on main.tf line 10, in resource "virtualbox_vm" "node": │ 10: resource "virtualbox_vm" "node" {
The text was updated successfully, but these errors were encountered: