0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 10:33:46 +00:00
terraform-provider-proxmox/docs/data-sources/hosts.md
2020-10-22 19:10:40 -04:00

616 B

layout title permalink nav_order parent
page Hosts /data-sources/hosts 5 Data Sources

Data Source: Hosts

Retrieves all the host entries from a specific node.

Example Usage

data "proxmox_virtual_environment_hosts" "first_node_host_entries" {
  node_name = "first-node"
}

Arguments Reference

  • node_name - (Required) A node name.

Attributes Reference

  • addresses - The IP addresses.
  • digest - The SHA1 digest.
  • entries - The host entries (conversion of addresses and hostnames into objects).
  • hostnames - The hostnames associated with each of the IP addresses.