-
Notifications
You must be signed in to change notification settings - Fork 453
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
feat: add in-cluster datastores in d/datastore_stats
#2273
feat: add in-cluster datastores in d/datastore_stats
#2273
Conversation
e1fcf80
to
3de22fc
Compare
d/datastore_stats
3de22fc
to
c6926d9
Compare
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
c6926d9
to
a87f23f
Compare
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
* A full list of all datastores is fetched including datastores in datastore clusters * All datastores are displayed under the same capacity and free capacity lists Signed-off-by: nikfot <[email protected]>
a87f23f
to
55b667b
Compare
This functionality has been released in v2.10.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
With the previous introduction of
d/datastore_stats
only local datastores were included in the output. Now, all datastores are fetched, even those under clusters, by accessing every storage pod object and retrieving all datastores that are set as childs to it.Acceptance tests
Output from acceptance testing:
Release Note
data/vsphere_datastore_stats
: Added the ability to return all data stores, both local and under a datastore cluster, in the datastore list.Example Usage
main.tf:
providers.tf:
outputs.tf:
variables.tf:
References
Close #2159