Skip to content

Commit 4375f36

Browse files
committed
address comments
1 parent 6f97f5e commit 4375f36

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

docs/resources/machine_config_v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ The following attributes are exported:
312312
* `datastore_cluster` - (Optional) vSphere datastore cluster for virtual machine (string)
313313
* `disk_size` - (Optional) vSphere size of disk for docker VM (in MB). Default `20480` (string)
314314
* `folder` - (Optional) vSphere folder for the docker VM. This folder must already exist in the datacenter (string)
315-
* `graceful_shutdown_timeout` (Optional) Duration in seconds for wait for graceful shutdown of the VM. A force destroy will be performed when the value is zero (string)
315+
* `graceful_shutdown_timeout` (Optional) Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero (string)
316316
* `hostsystem` - (Optional) vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string)
317317
* `memory_size` - (Optional) vSphere size of memory for docker VM (in MB). Default `2048` (string)
318318
* `network` - (Optional) vSphere network where the docker VM will be attached (list)

rancher2/schema_cluster_rke_config_cloud_provider_vsphere.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ func clusterRKEConfigCloudProviderVsphereGlobalFields() map[string]*schema.Schem
5454
"graceful_shutdown_timeout": {
5555
Type: schema.TypeString,
5656
Optional: true,
57-
Computed: true,
5857
},
5958
}
6059
return s

rancher2/schema_machine_config_v2_vsphere.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func machineConfigV2VmwarevsphereFields() map[string]*schema.Schema {
209209
"graceful_shutdown_timeout": {
210210
Type: schema.TypeString,
211211
Optional: true,
212-
Description: "Duration in seconds for wait for graceful shutdown of the VM. A force destroy will be performed when the value is zero",
212+
Description: "Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero",
213213
},
214214
}
215215

rancher2/schema_node_template_vsphere.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func vsphereConfigFields() map[string]*schema.Schema {
247247
"graceful_shutdown_timeout": {
248248
Type: schema.TypeString,
249249
Optional: true,
250-
Description: "Duration in seconds for wait for graceful shutdown of the VM. A force destroy will be performed when the value is zero",
250+
Description: "Duration in seconds before the graceful shutdown of the VM times out and the VM is destroyed. A force destroy will be performed when the value is zero",
251251
},
252252
}
253253
return s

0 commit comments

Comments
 (0)