-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] data source vsphere_virtual_machine for a template in a directory #830
Comments
This issue has been open 180 days with no activity. If this issue is reproducible with the latest version of the provider and with Terraform 0.12, please comment. Otherwise this issue will be closed in 30 days. |
This is still an inconsistency issue or data source feature request. I no longer have access to vsphere to test this out. @aareet you added the |
I can consider adding this to PR #1157 which adds a number of the resource attributes to the data source, but there's no +1s at all for this. :-/ |
@nitrocode: So here's an opinion question (mostly because I'm new to terraform, and newish to how people use the vSphere api). So, we get a "Parent" attribute for the vm which contains the object id that the "vsphere_virtual_machine" is contained by, and a type (which is "Folder"). So getting the path from this and exporting it as a string shouldn't be too difficult. But if the type is actually not-a-folder, should that path still be exported you think? This should be explicitly type checked, right? |
) * Update the examples for the `vsphere_virtual_machine` data source - Updates the existing example for the `vsphere_virtual_machine` data source. - Adds a second example demonstrating the use of the full path in the `name` argument in the `vsphere_virtual_machine` data source. - Minor context corrections. Reference: #830 Signed-off-by: Ryan Johnson <[email protected]> * Update `virtual_machine.html.markdown` Corrects a minor typo. Signed-off-by: Ryan Johnson <[email protected]>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Noticed that there is a
folder
argument for thevsphere_virtual_machine
resource but not one for the equivalent data source. Instead, the name should be the full path of the template name.This ticket is to update the documentation for this data source.
Affected Resource(s)
data source
vsphere_virtual_machine
Terraform Configuration Files
The text was updated successfully, but these errors were encountered: