-
Notifications
You must be signed in to change notification settings - Fork 480
feat: return tags and custom attributes in d/vsphere_virtual_machine
#2652
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
Conversation
spacegospod
left a comment
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.
Thank you for your contribution!
Please run golangci-lint locally and fix the formatting errors it reports.
Make sure to use v2.1.6 so that it matches the one on the GitHub action.
If you need any help with it just let me know.
tenthirtyam
left a comment
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.
Move internal imports together in alphabetical order.
Add descriptions for new attributes.
spacegospod
left a comment
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.
@akli-ime Looks good, I tried to apply @tenthirtyam 's suggestions into comments to help move this forward.
|
@spacegospod Thanks a lot! I’ve reviewed the comments and really appreciate you taking the time to incorporate @tenthirtyam’s suggestions. This is very helpful for moving things forward. |
Looks like 4 imports got duplicated and are failing the lint |
Co-authored-by: Stoyan Zhelyazkov <156204153+spacegospod@users.noreply.github.com>
Co-authored-by: Stoyan Zhelyazkov <156204153+spacegospod@users.noreply.github.com>
Co-authored-by: Stoyan Zhelyazkov <156204153+spacegospod@users.noreply.github.com>
|
@spacegospod - I've optimized the imports and have rebased the branch. Awaiting the CI to pass. |
Optimize the imports. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
d/vsphere_virtual_machine
d/vsphere_virtual_machined/vsphere_virtual_machine
tenthirtyam
left a comment
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.
LGTM
Description
This pull request adds support for returning
tagsandcustom_attributesin thevsphere_virtual_machinedata source.This improves visibility of vSphere metadata when using the data source.
Related Issue
Fixes #2615