Skip to content

Commit

Permalink
docs: Fix the interface_bridge_vlan resource example
Browse files Browse the repository at this point in the history
Closes  #546
  • Loading branch information
vaerh committed Aug 30, 2024
1 parent 6a0a0bd commit a8192d6
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions examples/resources/routeros_interface_bridge_vlan/resource.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
resource "routeros_interface_bridge_vlan" "bridge_vlan" {
vlan_ids = ["50"]
bridge = "bridge"
vlan_ids = ["50"]
tagged = [
"bridge",
"ether1"
]
untagged = [
"ether5"
]
}
}

resource "routeros_interface_bridge_vlan" "bridge_vlan" {
bridge = "bridge"
vlan_ids = ["4", "10", "20", "50", "100", "101", "102", "103", "112", "201", "202", "220", "254"]
}

resource "routeros_interface_bridge_vlan" "bridge_vlan" {
bridge = "bridge"
vlan_ids = ["4", "10", "20", "50", "100-103", "112", "201", "202", "220", "254"]
}

resource "routeros_interface_bridge_vlan" "bridge_vlan" {
bridge = "bridge"
vlan_ids = ["100-115", "120", "122", "128-130"]
}

0 comments on commit a8192d6

Please sign in to comment.