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

Ability to query storage container by it's name via a dedicated data source #687

Open
Philbow opened this issue Sep 18, 2024 · 0 comments
Open

Comments

@Philbow
Copy link

Philbow commented Sep 18, 2024

Is your feature request related to a problem? Please describe.
Multiple resources require a storage container UUID.

Using the UUID in terraform resources/variables is cumbersome, as they do not directly indicate me which UUID is related to which storage container name. This makes it hard to validate changes, keep an overview and one always needs to query the correct UUID via ncli or get these via the UI instead of using their name.

Describe the solution you'd like
As a Terraform Enduser I want to be able to query a storage container via a data source by providing it's name.

The data source result can be reused in various other resources like nutanix_virtual_machine, which only supports the definition of the storage container by it's uuid.

Describe alternatives you've considered
As an alternative nutanix_virtual_machine and other resources could directly support the definition of storage container via it's name.

The initial feature request would require less effort and fits the better into the best practices in terraform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant