Resource: proxmox_virtual_environment_hagroup¶
Warning
Deprecated: Use proxmox_hagroup instead. This resource will be removed in v1.0.
Manages a High Availability group in a Proxmox VE cluster.
Example Usage¶
resource "proxmox_virtual_environment_hagroup" "example" {
group = "example"
comment = "This is a comment."
# Member nodes, with or without priority.
nodes = {
node1 = null
node2 = 2
node3 = 1
}
restricted = true
no_failback = false
}
Schema¶
Required¶
group(String) The identifier of the High Availability group to manage.nodes(Map of Number) The member nodes for this group. They are provided as a map, where the keys are the node names and the values represent their priority: integers for known priorities ornullfor unset priorities.
Optional¶
comment(String) The comment associated with this groupno_failback(Boolean) A flag that indicates that failing back to a higher priority node is disabled for this HA group. Defaults tofalse.restricted(Boolean) A flag that indicates that other nodes may not be used to run resources associated to this HA group. Defaults tofalse.
Read-Only¶
id(String) The unique identifier of this resource.
Import¶
Import is supported using the following syntax: