Resource: proxmox_virtual_environment_haresource¶
Warning
Deprecated: Use proxmox_haresource instead. This resource will be removed in v1.0.
Manages Proxmox HA resources.
Example Usage¶
resource "proxmox_virtual_environment_haresource" "example" {
depends_on = [
proxmox_virtual_environment_hagroup.example
]
resource_id = "vm:123"
state = "started"
group = "example"
comment = "Managed by Terraform"
}
Schema¶
Required¶
resource_id(String) The Proxmox HA resource identifier
Optional¶
comment(String) The comment associated with this resource.group(String) The identifier of the High Availability group this resource is a member of.max_relocate(Number) The maximal number of relocation attempts.max_restart(Number) The maximal number of restart attempts.state(String) The desired state of the resource.type(String) The type of HA resources to create. If unset, it will be deduced from theresource_id.
Read-Only¶
id(String) The unique identifier of this resource.
Import¶
Import is supported using the following syntax: