From 602568e6a64945514b7e3a3294ec8fb1f98b6be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Ma=C5=84kowski?= Date: Sun, 10 Aug 2025 20:38:13 +0200 Subject: [PATCH] fix(lxc): adjust max number of container's IP configs (#2088) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(lxc): Adjust max number of container's IP configs The limit now matches the number of network interfaces allowed by Proxmox Fix #2080 Signed-off-by: Kamil MaƄkowski --- proxmoxtf/resource/container/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmoxtf/resource/container/container.go b/proxmoxtf/resource/container/container.go index d54fe07a..3b675d21 100644 --- a/proxmoxtf/resource/container/container.go +++ b/proxmoxtf/resource/container/container.go @@ -523,7 +523,7 @@ func Container() *schema.Resource { }, }, }, - MaxItems: 8, + MaxItems: maxNetworkInterfaces, MinItems: 0, }, mkInitializationUserAccount: {