0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 18:42:58 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_hosts.md
Pavel Boldyrev bf9e31ecfc
chore: lint and reformat the code (#204)
* chore: reformat code

* chore: add commitlint config

* reformat README.md

* add linter config

* lint & reformat docs

* go linter: only new issues

* fix some linting errors

* more reformatting

* disable linter warning for some duplicated code
2023-01-16 18:07:30 -05:00

993 B

layout title permalink nav_order parent subcategory
page proxmox_virtual_environment_hosts /resources/virtual_environment_hosts 8 Resources Virtual Environment

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

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

Attribute 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.