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

add option to use arrays of datastore via datastores #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rds13
Copy link
Member

@rds13 rds13 commented Jul 5, 2024

No description provided.

@rds13 rds13 self-assigned this Jul 5, 2024
@rds13 rds13 requested a review from smutel July 5, 2024 13:29
main.tf Outdated
datastore_cluster_id = var.datastore_cluster != "" ? data.vsphere_datastore_cluster.datastore_cluster[0].id : null
datastore_id = var.datastore != "" ? data.vsphere_datastore.datastore[0].id : null
datastore_cluster_id = var.datastore_cluster != "" ? data.vsphere_datastore_cluster.datastore_cluster[0].id : null
datastore_id = var.datastores != null || var.datastore != null ? data.vsphere_datastore.datastore[0].id : null
Copy link

@smutel smutel Jul 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Toujours l'ID 0 même si data.vsphere_datastore est un tableau ?

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

Successfully merging this pull request may close these issues.

2 participants