mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 10:33:46 +00:00
fix(cluster): insecure
migration_type
validation (#1607)
fix(provider): fix insecure migration_type validation Signed-off-by: dgriswo <daniel@griswoldcomputing.com>
This commit is contained in:
parent
fea548c1e9
commit
0ba36e48da
@ -60,7 +60,7 @@ resource "proxmox_virtual_environment_cluster_options" "options" {
|
||||
- `mac_prefix` (String) Prefix for autogenerated MAC addresses.
|
||||
- `max_workers` (Number) Defines how many workers (per node) are maximal started on actions like 'stopall VMs' or task from the ha-manager.
|
||||
- `migration_cidr` (String) Cluster wide migration network CIDR.
|
||||
- `migration_type` (String) Cluster wide migration type. Must be `secure` | `unsecure` (default is `secure`).
|
||||
- `migration_type` (String) Cluster wide migration type. Must be `secure` | `insecure` (default is `secure`).
|
||||
- `next_id` (Attributes) The ranges for the next free VM ID auto-selection pool. (see [below for nested schema](#nestedatt--next_id))
|
||||
- `notify` (Attributes) Cluster-wide notification settings. (see [below for nested schema](#nestedatt--notify))
|
||||
|
||||
|
@ -537,12 +537,12 @@ func (r *clusterOptionsResource) Schema(
|
||||
},
|
||||
"migration_type": schema.StringAttribute{
|
||||
Description: "Cluster wide migration type.",
|
||||
MarkdownDescription: "Cluster wide migration type. Must be `secure` | `unsecure` " +
|
||||
MarkdownDescription: "Cluster wide migration type. Must be `secure` | `insecure` " +
|
||||
"(default is `secure`).",
|
||||
Optional: true,
|
||||
Validators: []validator.String{stringvalidator.OneOf([]string{
|
||||
"secure",
|
||||
"unsecure",
|
||||
"insecure",
|
||||
}...)},
|
||||
},
|
||||
"migration_cidr": schema.StringAttribute{
|
||||
|
Loading…
Reference in New Issue
Block a user