-
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
FEATURE REQUEST - Dynamic Datasources #937
Comments
Hi @stobias123! I like the idea of adding support for this type of filtering as it could help make it easier to find an object based on something besides the name. We'd need to look a bit more into it to see if there would be any other implications to making a change like this. Best case though, we'd be able to do something like this in the 2.0 release (which doesn't have a planned date yet), since it would be a breaking change to existing configurations. I'll get a tag on this to look at when we're looking at what to work on and include in that release. Thank you for the suggestion! |
This is exactly the feature that I'm looking for now. Waiting for it to be supported. |
@bill-rich - I saw this was removed from v2.0 - was it decided not to work on this feature? |
@stobias123 It is actually nearly done. Though it is implemented slightly different. It should make it into the release this week or next. |
Completed in #1103 |
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! |
I'm using this provider more and more lately. Support has gotten better, and it really helps align vmware infrastructure with the SDDC ideology vmware is pushing, and thus infrastructure as code through terraform.
However, the data sources from this provider are lacking when compared to providers like
aws
orgcp
or any cloud provider.I would like to dynamically retrieve available resources from vmware using a
filter
similar toaws_ami datasource and aws_subnet_ids data source.
VMWare tags should be sufficient for filters, and would really help push this provider (and vmware) to the next level if such functionality was added.
Suggested First Resource(s)
Please list the resources as a list, for example:
vsphere_virtual_machine
- for finding templates.vsphere_datastore_cluster
- for finding datastores via tags (eg. SRM tag :) )Example
This is how I'd imagine the
vsphere_virtual_machine
working.Important Factoids
Other cloud providers have this functionality. The lack of dynamic datasources is holding this provider back.
The text was updated successfully, but these errors were encountered: