-
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
Merged the virtual machine configuration schema between the both the resource and datasource #1157
Conversation
…irtual_machine resource into its data source, and modified the suppression functions in the data structure to use the ovf_deploy attribute conditionally.
…tual_machine" data source.
… some of the newly added attributes.
Apparently this is a bad rebase. Will fix once done submitting other PRs. |
Okay. Now for TravisCI to tell me how my tests look... |
…ne disk subresource file.
There we go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a really good idea. Thanks for the PR!
Awesome. Thank you for merging it! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Description
This consolidates some of the common attributes such as the number of cpus, sizes, etc. that are shared between both the "vsphere_virtual_machine" resource and data source. This allows one to make a nearly exact 1:1 copy of a "vsphere_virtual_machine" data source without having to hardcode anything as described in all of the public articles and blog posts on the subject.
Some of the attributes for the data source were added to the tests, and the documentation was updated to reference the additional attributes.
Acceptance tests
References
This closes issue #1155, is related to a closed issue #285, and supercedes PR #1148.