Skip to content

Commit 8b7e2e1

Browse files
committed
add description & update doc
1 parent 526ea79 commit 8b7e2e1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cloudstack/resource_cloudstack_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ func resourceCloudStackInstance() *schema.Resource {
188188
Optional: true,
189189
ValidateFunc: validation.StringInSlice([]string{"Secure", "Legacy"}, true),
190190
ForceNew: true,
191+
Description: "The boot mode of the instance. Can only be specified when uefi is true. Valid options are 'Legacy' and 'Secure'.",
191192
},
192193

193194
"start_vm": {

website/docs/r/instance.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ The following arguments are supported:
104104

105105
* `uefi` - (Optional) When set, will boot the instance in UEFI/Legacy mode (defaults false)
106106

107+
* `boot_mode` - (Optional) The boot mode of the instance. Can only be specified when uefi is true. Valid options are 'Legacy' and 'Secure'.
108+
107109
## Attributes Reference
108110

109111
The following attributes are exported:

0 commit comments

Comments
 (0)