We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.3.7
v0.2.2-alpha.1
7.0.2 r154219
Windows 11 Pro
│ Error: [ERROR] Create virtualbox VM node-01: machine already exists │ │ │ with virtualbox_vm.node[0], │ on main.tf line 62, in resource "virtualbox_vm" "node": │ 62: resource "virtualbox_vm" "node" { │ ╵ ╷ │ Error: [ERROR] Create virtualbox VM node-02: machine already exists │ │ │ with virtualbox_vm.node[1], │ on main.tf line 62, in resource "virtualbox_vm" "node": │ 62: resource "virtualbox_vm" "node" { │ ╵ 2023-02-07T18:29:33.604+0100 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info 2023-02-07T18:29:33.607+0100 [TRACE] statemgr.Filesystem: unlocked by closing terraform.tfstate 2023-02-07T18:29:33.611+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2023-02-07T18:29:33.637+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/terra-farm/virtualbox/0.2.2-alpha.1/windows_amd64/terraform-provider-virtualbox_v0.2.2-alpha.1.exe pid=30528 2023-02-07T18:29:33.638+0100 [DEBUG] provider: plugin exited
Steps to reproduce the behavior:
create ubtuntu in a virtualbox
terraform { required_providers { virtualbox = { source = "terra-farm/virtualbox" version = "0.2.2-alpha.1" } } } # There are currently no configuration options for the provider itself. resource "virtualbox_vm" "node" { count = 2 name = format("node-%02d", count.index + 1) image = "https://app.vagrantup.com/ubuntu/boxes/bionic64/versions/20180903.0.0/providers/virtualbox.box" cpus = 2 memory = "512 mib" # user_data = file("${path.module}/user_data") network_adapter { type = "hostonly" host_interface = "vboxnet1" } } 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) }
The text was updated successfully, but these errors were encountered:
VoyTechnology
No branches or pull requests
Terraform Version
v1.3.7
Virtualbox Provider version
v0.2.2-alpha.1
Virtualbox Version
7.0.2 r154219
Operating System
Windows 11 Pro
Describe the bug
│ Error: [ERROR] Create virtualbox VM node-01: machine already exists
│
│
│ with virtualbox_vm.node[0],
│ on main.tf line 62, in resource "virtualbox_vm" "node":
│ 62: resource "virtualbox_vm" "node" {
│
╵
╷
│ Error: [ERROR] Create virtualbox VM node-02: machine already exists
│
│
│ with virtualbox_vm.node[1],
│ on main.tf line 62, in resource "virtualbox_vm" "node":
│ 62: resource "virtualbox_vm" "node" {
│
╵
2023-02-07T18:29:33.604+0100 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2023-02-07T18:29:33.607+0100 [TRACE] statemgr.Filesystem: unlocked by closing terraform.tfstate
2023-02-07T18:29:33.611+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-02-07T18:29:33.637+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/terra-farm/virtualbox/0.2.2-alpha.1/windows_amd64/terraform-provider-virtualbox_v0.2.2-alpha.1.exe pid=30528
2023-02-07T18:29:33.638+0100 [DEBUG] provider: plugin exited
To Reproduce
Steps to reproduce the behavior:
Expected Behaviour
create ubtuntu in a virtualbox
Configuration
The text was updated successfully, but these errors were encountered: