Data Source: proxmox_virtual_environment_hagroup¶
Warning
Deprecated: Use proxmox_hagroup instead. This data source will be removed in v1.0.
Retrieves information about a specific High Availability group.
Example Usage¶
// This will fetch the set of HA group identifiers...
data "proxmox_virtual_environment_hagroups" "all" {}
// ...which we will go through in order to fetch the whole data on each group.
data "proxmox_virtual_environment_hagroup" "example" {
for_each = data.proxmox_virtual_environment_hagroups.all.group_ids
group = each.value
}
output "proxmox_virtual_environment_hagroups_full" {
value = data.proxmox_virtual_environment_hagroup.example
}
Schema¶
Required¶
group(String) The identifier of the High Availability group to read.
Read-Only¶
comment(String) The comment associated with this groupid(String) The unique identifier of this resource.no_failback(Boolean) A flag that indicates that failing back to a higher priority node is disabled for this HA group.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.restricted(Boolean) A flag that indicates that other nodes may not be used to run resources associated to this HA group.