From 492e1bc0aaf5c16a19caf1c95bc97a817aea1b1a Mon Sep 17 00:00:00 2001 From: Chris Marchesi Date: Thu, 31 Aug 2017 15:03:00 -0700 Subject: [PATCH] r/host_virtual_switch: Doc update for ID attribute The ID attribute is now a composite attribute that we assemble in code, and not just the name of the resource, because that is not a unique value or very telling of where the resource is actually located. The ID change went in with #138, but I forgot to update the docs. --- website/docs/r/host_virtual_switch.html.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/docs/r/host_virtual_switch.html.markdown b/website/docs/r/host_virtual_switch.html.markdown index 97bfc807c..f0a88ab1f 100644 --- a/website/docs/r/host_virtual_switch.html.markdown +++ b/website/docs/r/host_virtual_switch.html.markdown @@ -170,4 +170,7 @@ probing (configured with [`check_beacon`](#check_beacon)). ## Attribute Reference The only exported attribute, other than the attributes above, is the `id` of -the resource, which is set to the name of the virtual switch. +the resource. This is set to an ID value unique to Terraform - the convention +is a prefix, the host system ID, and the virtual switch name. An example would +be `tf-HostVirtualSwitch:host-10:vSwitchTerraformTest`. +