Resource: proxmox_virtual_environment_network_linux_bridge¶
Warning
Deprecated: Use proxmox_network_linux_bridge instead. This resource will be removed in v1.0.
Manages a Linux Bridge network interface in a Proxmox VE node.
Example Usage¶
resource "proxmox_virtual_environment_network_linux_bridge" "vmbr99" {
depends_on = [
proxmox_virtual_environment_network_linux_vlan.vlan99
]
node_name = "pve"
name = "vmbr99"
address = "99.99.99.99/16"
comment = "vmbr99 comment"
ports = [
# Network (or VLAN) interfaces to attach to the bridge, specified by their interface name
# (e.g. "ens18.99" for VLAN 99 on interface ens18).
# For VLAN interfaces with custom names, use the interface name without the VLAN tag, e.g. "vlan_lab"
"ens18.99"
]
}
resource "proxmox_virtual_environment_network_linux_vlan" "vlan99" {
node_name = "pve"
name = "ens18.99"
## or alternatively, use custom name:
# name = "vlan_lab"
# interface = "eno0"
# vlan = 98
}
Schema¶
Required¶
name(String) The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any alphanumeric string that starts with a character and is at most 10 characters long.node_name(String) The name of the node.
Optional¶
address(String) The interface IPv4/CIDR address.address6(String) The interface IPv6/CIDR address.autostart(Boolean) Automatically start interface on boot (defaults totrue).comment(String) Comment for the interface.gateway(String) Default gateway address.gateway6(String) Default IPv6 gateway address.mtu(Number) The interface MTU.ports(List of String) The interface bridge ports.timeout_reload(Number) Timeout for network reload operations in seconds (defaults to100).vlan_aware(Boolean) Whether the interface bridge is VLAN aware (defaults tofalse).
Read-Only¶
id(String) A unique identifier with format<node name>:<iface>
Import¶
Import is supported using the following syntax: