diff --git a/docs/index.md b/docs/index.md index 510a6792..ff98dc18 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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`) diff --git a/proxmoxtf/provider/schema.go b/proxmoxtf/provider/schema.go index 5dc0b790..644ab34a 100644 --- a/proxmoxtf/provider/schema.go +++ b/proxmoxtf/provider/schema.go @@ -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,