0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 19:12:59 +00:00
terraform-provider-proxmox/docs/resources/hosts.md
2020-10-22 19:10:40 -04:00

875 B

layout title permalink nav_order parent
page Hosts /resources/hosts 6 Resources

Resource: Hosts

Manages the host entries on a specific node.

Example Usage

resource "proxmox_virtual_environment_hosts" "first_node_host_entries" {
  node_name = "first-node"

  entry {
    address = "127.0.0.1"

    hostnames = [
      "localhost",
      "localhost.localdomain",
    ]
  }
}

Arguments Reference

  • node_name - (Required) A node name.
  • entry - (Required) A host entry (multiple blocks supported).
    • address - (Required) The IP address.
    • hostnames - (Required) The hostnames.

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.