diff --git a/docs/resources/virtual_environment_container.md b/docs/resources/virtual_environment_container.md index c2df7d029..ec675ffe7 100644 --- a/docs/resources/virtual_environment_container.md +++ b/docs/resources/virtual_environment_container.md @@ -139,13 +139,11 @@ output "ubuntu_container_public_key" { - `ip_config` - (Optional) The IP configuration (one block per network device). - `ipv4` - (Optional) The IPv4 configuration. - - `address` - (Optional) The IPv4 address (use `dhcp` for - autodiscovery). + - `address` - (Optional) The IPv4 address (use `dhcp` for auto-discovery). - `gateway` - (Optional) The IPv4 gateway (must be omitted when `dhcp` is used as the address). - `ipv6` - (Optional) The IPv4 configuration. - - `address` - (Optional) The IPv6 address (use `dhcp` for - autodiscovery). + - `address` - (Optional) The IPv6 address (use `dhcp` for auto-discovery). - `gateway` - (Optional) The IPv6 gateway (must be omitted when `dhcp` is used as the address). - `user_account` - (Optional) The user account configuration. @@ -189,15 +187,17 @@ output "ubuntu_container_public_key" { - `node_name` - (Required) The name of the node to assign the container to. - `operating_system` - (Required) The Operating System configuration. - `template_file_id` - (Required) The identifier for an OS template file. - The ID format is `:/`, for example `local:iso/jammy-server-cloudimg-amd64.tar.gz`. Can be also taken from - `proxmox_virtual_environment_download_file` resource, or from the output of `pvesm list `. + The ID format is `:/`, for example `local:iso/jammy-server-cloudimg-amd64.tar.gz`. + Can be also taken from `proxmox_virtual_environment_download_file` resource, or from the output of `pvesm list `. - `type` - (Optional) The type (defaults to `unmanaged`). - `alpine` - Alpine. - `archlinux` - Arch Linux. - `centos` - CentOS. - `debian` - Debian. + - `devuan` - Devuan. - `fedora` - Fedora. - `gentoo` - Gentoo. + - `nixos` - NixOS. - `opensuse` - openSUSE. - `ubuntu` - Ubuntu. - `unmanaged` - Unmanaged. diff --git a/proxmoxtf/resource/container/validators.go b/proxmoxtf/resource/container/validators.go index 3db3dd16a..d41705f9c 100644 --- a/proxmoxtf/resource/container/validators.go +++ b/proxmoxtf/resource/container/validators.go @@ -45,6 +45,7 @@ func OperatingSystemTypeValidator() schema.SchemaValidateDiagFunc { "archlinux", "centos", "debian", + "devuan", "fedora", "gentoo", "nixos",