Some checks failed
CI / build (push) Failing after 33s
- Regenerated docs/ via tfplugindocs: 51 files covering all 20 resources and 30 data sources with auto-extracted schemas and examples - Removed stale docs for old resources (build.md, ssh.md) - CHANGELOG.md: added v1.0.0 entry with full feature list, breaking changes, and security notes - terraform-registry-manifest.json: confirmed protocol_versions ["6.0"] is correct for Terraform Plugin Framework Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
---
|
|
# 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 generated by tfplugindocs -->
|
|
## 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).
|