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 support for d/vcf_host #200

Open
4 tasks done
pradeep17j opened this issue Jul 23, 2024 · 2 comments · May be fixed by #236
Open
4 tasks done

Add support for d/vcf_host #200

pradeep17j opened this issue Jul 23, 2024 · 2 comments · May be fixed by #236
Assignees
Labels
datasource Provider Datasource enhancement Enhancement
Milestone

Comments

@pradeep17j
Copy link

pradeep17j commented Jul 23, 2024

Code of Conduct

  • I have read and agree to the project's Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

In a scenario where we get an instance and we need to use Terraform to do a Day-2 operation like domain or cluster creation we will have to go into the setup to get the IDs of the free hosts.

The provider does not have a data source implemented for hosts which is equivalent for API like GET sddc-manager/v1/hosts.

data vcf_hosts "all_hosts" {
}   

Use Case(s)

Return list of all hosts and ability to filter based on status.

data vcf_hosts "all_hosts" {
}

Potential Configuration

TBD

References

No response

@pradeep17j pradeep17j added enhancement Enhancement needs-review Needs Review labels Jul 23, 2024
@github-actions github-actions bot added the pending-review Pending Review label Jul 23, 2024
@tenthirtyam tenthirtyam added datasource Provider Datasource and removed needs-review Needs Review pending-review Pending Review labels Jul 30, 2024
@tenthirtyam tenthirtyam added this to the Backlog milestone Jul 30, 2024
@tenthirtyam tenthirtyam self-assigned this Jul 30, 2024
@tenthirtyam tenthirtyam changed the title Add data source for hosts Add support for d/vcf_host Jul 30, 2024
@tenthirtyam
Copy link
Contributor

Hi @pradeep17j 👋 -

I have formatted the issue content. We kindly ask that you do the same for future issues.

Ryan Johnson
Distinguished Engineer, VMware by Broadcom

@tenthirtyam tenthirtyam modified the milestones: Backlog, v0.11.0 Aug 20, 2024
@tenthirtyam tenthirtyam linked a pull request Aug 23, 2024 that will close this issue
11 tasks
@tenthirtyam tenthirtyam linked a pull request Aug 23, 2024 that will close this issue
11 tasks
@tenthirtyam
Copy link
Contributor

Hi @pradeep17j 👋 -

I've added and linked #236 to this issue. This will ba the vcf_host data source for single hosts.

I may plan to look into a vcf_hosts data source after this one that is the pluralization based on the added context of this issue. It's a common ask in some providers to support the plural form.

Ryan

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

Successfully merging a pull request may close this issue.

2 participants