adammck / terraform-inventory

Terraform State → Ansible Dynamic Inventory
MIT License
1.82k stars 321 forks source link

How add provider virtualbox? #125

Open patsevanton opened 5 years ago

patsevanton commented 5 years ago

Hello. How add provider virtualbox? Thanks!

Terraform show

# virtualbox_vm.node[0]:
resource "virtualbox_vm" "node" {
    cpus   = 1
    id     = "9df48217-ffc1-4489-8a93-292c0ffcf956"
    image  = "virtualbox.box"
    memory = "2.0 gib"
    name   = "node-01"
    status = "running"

    network_adapter {
        device                 = "IntelPro1000MTServer"
        host_interface         = "vboxnet1"
        ipv4_address           = "192.168.57.7"
        ipv4_address_available = "yes"
        mac_address            = "080027448CD5"
        status                 = "up"
        type                   = "hostonly"
    }
}