From 17e75ce06db4396ce2a022a3b318cd89cac223f2 Mon Sep 17 00:00:00 2001 From: Chris Marchesi Date: Thu, 24 Aug 2017 11:43:12 -0700 Subject: [PATCH] r/vsphere_virtual_machine: Small doc correction for hostname Just a small grammar fix, and also re-run the sample code through terraform fmt. --- website/docs/r/virtual_machine.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/r/virtual_machine.html.markdown b/website/docs/r/virtual_machine.html.markdown index 6cba43475..2d0c654f5 100644 --- a/website/docs/r/virtual_machine.html.markdown +++ b/website/docs/r/virtual_machine.html.markdown @@ -34,7 +34,7 @@ resource "vsphere_virtual_machine" "web" { ```hcl resource "vsphere_virtual_machine" "lb" { name = "lb01" - hostname = "lbalancer01" + hostname = "lbalancer01" folder = "Loadbalancers" vcpu = 2 memory = 4096 @@ -65,7 +65,7 @@ The following arguments are supported: * `folder` - (Optional) The folder to group the VM in. * `vcpu` - (Required) The number of virtual CPUs to allocate to the virtual machine * `memory` - (Required) The amount of RAM (in MB) to allocate to the virtual machine -* `hostname` - (Optional) The virtual machine hostname used during the OS customization - if not specified then `name` will be a hostname +* `hostname` - (Optional) The virtual machine hostname used during the OS customization. Defaults to the `name` attribute. * `memory_reservation` - (Optional) The amount of RAM (in MB) to reserve physical memory resource; defaults to 0 (means not to reserve) * `datacenter` - (Optional) The name of a Datacenter in which to launch the virtual machine * `cluster` - (Optional) Name of a Cluster in which to launch the virtual machine