mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 02:52:58 +00:00
fix(provider): allow FQDN for ssh.node.address
in provider's config (#824)
* fix(provider): removed ip check/limitation to mkProviderSSHNode It is now possible to use an FQDN instead of an IP Address when the SSH node is configured Changes to be committed: modified: proxmoxtf/provider/schema.go Signed-off-by: bitchecker <ciro.deluca@autistici.org> * fix(docs): Updating documentation after the code updates Signed-off-by: bitchecker <ciro.deluca@autistici.org> --------- Signed-off-by: bitchecker <ciro.deluca@autistici.org>
This commit is contained in:
parent
8d1a72923c
commit
34df9773c3
@ -209,6 +209,6 @@ Proxmox `provider` block:
|
||||
- `node` - (Optional) The node configuration for the SSH connection. Can be
|
||||
specified multiple times to provide configuration fo multiple nodes.
|
||||
- `name` - (Required) The name of the node.
|
||||
- `address` - (Required) The IP address of the node.
|
||||
- `address` - (Required) The FQDN/IP address of the node.
|
||||
- `port` - (Optional) SSH port of the node. Defaults to 22.
|
||||
- `tmp_dir` - (Optional) Use custom temporary directory. (can also be sourced from `PROXMOX_VE_TMPDIR`)
|
||||
|
@ -155,7 +155,7 @@ func createSchema() map[string]*schema.Schema {
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
Description: "The address of the Proxmox VE node.",
|
||||
ValidateFunc: validation.IsIPAddress,
|
||||
ValidateFunc: validation.StringIsNotEmpty,
|
||||
},
|
||||
mkProviderSSHNodePort: {
|
||||
Type: schema.TypeInt,
|
||||
|
Loading…
Reference in New Issue
Block a user