Skip to content

Commit

Permalink
r/host_virtual_switch: Doc update for ID attribute
Browse files Browse the repository at this point in the history
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 hashicorp#138, but I forgot to update the docs.
  • Loading branch information
vancluever committed Aug 31, 2017
1 parent 563f524 commit 492e1bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/docs/r/host_virtual_switch.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit 492e1bc

Please sign in to comment.