mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 02:31:10 +00:00
* wip * experimenting with terraform plugin framework * cleaning up poc and adding tests * adding read / update / delete * update bridge_vlan_aware and MTU * add ipv6 and simplify IP support * fix provider's schema * add docs * run linter from cmdline * disable TF acceptance tests * add VLAN * update docs * add examole * cleanup
24 lines
428 B
HCL
24 lines
428 B
HCL
resource "proxmox_virtual_environment_network_linux_vlan" "vlan99" {
|
|
node_name = "pve"
|
|
name = "ens18.99"
|
|
|
|
comment = "VLAN 99"
|
|
}
|
|
|
|
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 = [
|
|
"ens18.99"
|
|
]
|
|
}
|