Resource: proxmox_virtual_environment_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",
]
}
}
Argument Reference¶
Attribute Reference¶
addresses- The IP addresses.digest- The SHA1 digest.entries- The host entries (conversion ofaddressesandhostnamesinto objects).hostnames- The hostnames associated with each of the IP addresses.
Important Notes¶
Be careful not to use this resource multiple times for the same node.
Import¶
Instances can be imported using the node_name, e.g.,