» skytap_vm

Provides a Skytap Virtual Machine (VM) resource. The environment VM resource represents an image of a single virtual machine.

» Example Usage

# Create a new vm
resource "skytap_vm" "vm" {
  template_id = 123
  vm_id = 456
  environment_id = 789
  name = "my vm"
}

» Argument Reference

The following arguments are supported:

  • environment_id - (Required, Force New) ID of the environment you want to add the VM to. If updating with a new one then the VM will be recreated.
  • template_id - (Required, Force New) ID of the template you want to create the vm from. If updating with a new one then the VM will be recreated.
  • vm_id - (Required, Force New) ID of the VM you want to create the VM from. If updating with a new one then the VM will be recreated.
  • name - (Optional, Computed) User-defined name. Limited to 100 characters.
  • interface_type - (Required, Force New) Type of network that this network adapter is attached to.
  • network_id - (Required, Force New) ID of the network that this network adapter is attached to.
  • ip - (Required, Force New) The IP address (for example, 10.1.0.37). Skytap will not assign the same IP address to multiple interfaces on the same network.
  • hostname - (Required, Force New) Limited to 32 characters. Valid characters are lowercase letters, numbers, and hyphens. Cannot begin or end with hyphens. Cannot be gw.
    • published_service - (Optional, Force New) Generally, a published service represents a binding of a port on a network interface to an IP and port that is routable and accessible from the public Internet. This mechanism is used to selectively expose ports on the guest to the public Internet.

» Attributes Reference

The following attributes are exported: