You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Too many ipv4 blocks
│
│ on main.tf line 106, in resource "proxmox_virtual_environment_vm" "vms":
│ 106: content {
│
│ No more than 1 "ipv4" blocks are allowed
Expected behavior
Allow to configure as many ip-addresses as network interface are available.
The text was updated successfully, but these errors were encountered:
@kaje783 thanks for the report. I'm going to re-label this as "enhancement" though, as this behaviour doesn't indicate a bug in the existing functionality.
I've actually had this use case working before by specifying multiple ip_config blocks instead of multiple ipv4 blocks within a single ip_config block. So @kaje783 you might want to give that a try. (it was a static config, so not sure if it will actually work in a dynamic block)
Describe the bug
In the part "initialization/ip_config/ipv4" we can only configure 1 network.
The problem now arises when the VM has multiple networks and we want to configure them, this is currently not possible.
For information only:
Proxmox currently sets all other interfaces in the cloud-init part to static and the IP address remains empty.
To Reproduce
var.tf
main.tf
Expected behavior
Allow to configure as many ip-addresses as network interface are available.
The text was updated successfully, but these errors were encountered: