--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "virtfusion_server_build Resource - virtfusion" subcategory: "" description: |- Builds a VirtFusion server with an operating system. This is a one-time operation — once a server is built, it stays built. --- # virtfusion_server_build (Resource) Builds a VirtFusion server with an operating system. This is a one-time operation — once a server is built, it stays built. ## Example Usage ```terraform resource "virtfusion_server_build" "node1_build" { server_id = virtfusion_server.node1.id name = "my-server" hostname = "my-server.example.com" osid = 1 vnc = true ipv6 = false ssh_keys = [virtfusion_ssh_key.mykey.id] email = false } ``` ## Schema ### Required - `name` (String) The name for the server build. - `osid` (Number) The operating system ID to install. - `server_id` (Number) The ID of the server to build. ### Optional - `email` (Boolean) Whether to send a notification email after build. - `hostname` (String) The hostname for the server. - `ipv6` (Boolean) Whether to enable IPv6. - `ssh_keys` (List of Number) List of SSH key IDs to add to the server. - `vnc` (Boolean) Whether to enable VNC access. ### Read-Only - `id` (String) The identifier of the server build (same as server_id).