Skip to content

Request: Add support for nested virtualization #69

Open
@dcode

Description

@dcode

Terraform Version

Terraform v0.12.26

Affected Resource(s)

Please list the resources as a list, for example:

  • skytap_vm

Terraform Configuration Files

Proposed feature:

# From the documentation example
resource "skytap_vm" "vm" {
  template_id = 1473407
  vm_id = 37865463
  environment_id = "${skytap_environment.environment.id}"
  name = "my vm"
  cpus = 2
  ram = 4096
  nested_virtualization = true

  os_disk_size = 40000

  network_interface  {
     interface_type = "vmxnet3"
     network_id = "${skytap_network.network.id}"
     ip = "172.128.0.1"
     hostname = "myhost"

    published_service {
      name = "ssh"
      internal_port = 22
    }
  }
}

Debug Output

n/a

Panic Output

n/a

Expected Behavior

I expected that I would be able to set the nested_virtualization flag in the VM hardware options.

Actual Behavior

The documentation didn't suggest any such flag was available.

Steps to Reproduce

  1. Create a terraform file that creates a VM in an environment that you want to use nested virtualization (my use-case is a nested hypervisor).
  2. Read the documentation.
  3. Feel sad that I have to manually do this step later.

References

Not a GitHub issue, but this flag is straight out of the SkyTap API Environment VM v2 resource model

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions