Skip to content
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

Merged
merged 5 commits into from
Aug 14, 2020

Conversation

arizvisa
Copy link
Contributor

@arizvisa arizvisa commented Aug 6, 2020

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

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch? (If so, please include the test log in a gist)

References

This closes issue #1155, is related to a closed issue #285, and supercedes PR #1148.

…irtual_machine resource into its data source, and modified the suppression functions in the data structure to use the ovf_deploy attribute conditionally.
@arizvisa
Copy link
Contributor Author

arizvisa commented Aug 6, 2020

Apparently this is a bad rebase. Will fix once done submitting other PRs.

@arizvisa
Copy link
Contributor Author

arizvisa commented Aug 6, 2020

Okay. Now for TravisCI to tell me how my tests look...

@ghost ghost added size/l Relative Sizing: Large documentation Type: Documentation labels Aug 6, 2020
@arizvisa
Copy link
Contributor Author

arizvisa commented Aug 6, 2020

There we go.

Copy link
Contributor

@bill-rich bill-rich left a 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!

@bill-rich bill-rich merged commit 5e5ed21 into hashicorp:master Aug 14, 2020
@arizvisa
Copy link
Contributor Author

Awesome. Thank you for merging it!

@ghost
Copy link

ghost commented Sep 14, 2020

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 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Sep 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Type: Documentation size/l Relative Sizing: Large
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants