Skip to content

Commit

Permalink
Regenerate vm resource and data source documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
  • Loading branch information
ddelnano committed Jan 25, 2024
1 parent bc7dea4 commit bf2a409
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/data-sources/vms.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Read-Only:
- `vga` (String)
- `videoram` (Number)
- `wait_for_ip` (Boolean)
- `xenstore` (Map of String)

<a id="nestedobjatt--vms--disk"></a>
### Nested Schema for `vms.disk`
Expand Down
8 changes: 8 additions & 0 deletions docs/resources/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ resource "xenorchestra_vm" "bar" {
timeouts {
create = "20m"
}
// Note: Xen Orchestra populates values within Xenstore and will need ignored via
// lifecycle ignore_changes or modeled in your terraform code
xenstore = {
key1 = "val1"
key2 = "val2"
}
}
# vm resource that uses wait_for_ip
Expand Down Expand Up @@ -170,6 +177,7 @@ $ xo-cli xo.getAllObjects filter='json:{"id": "cf7b5d7d-3cd5-6b7c-5025-5c935c8cd
- `vga` (String) The video adapter the VM should use. Possible values include std and cirrus.
- `videoram` (Number) The videoram option the VM should use. Possible values include 1, 2, 4, 8, 16
- `wait_for_ip` (Boolean) Whether terraform should wait until IP addresses are present on the VM's network interfaces before considering it created. This only works if guest-tools are installed in the VM. Defaults to false.
- `xenstore` (Map of String) The key value pairs to be populated in xenstore.

### Read-Only

Expand Down

0 comments on commit bf2a409

Please sign in to comment.