nutanix / terraform-provider-nutanix

Terraform Nutanix Provider
https://www.terraform.io/docs/providers/nutanix/
Mozilla Public License 2.0
101 stars 112 forks source link

Ability to retrieve account UUIDs required by project resource creation #646

Open pipoe2h opened 1 year ago

pipoe2h commented 1 year ago

Is your feature request related to a problem? Please describe. A project requires infrastructure, for this, you need the account UUID. Currently, there is no known way to accomplish this using the data endpoints available in TF.

Describe the solution you'd like Two data endpoints, one for listing all the accounts, and the second for listing a specific account.

Describe alternatives you've considered As a workaround, this information can be extracted from PC API using Chrome Developer Tools to inspect the network calls. Alternatively, the information can be included in a local provisioner with curl in TF.