11-26-2024 07:57 AM
I create the VLAN this way. On the device it creates correctly. How do I delete this VLAN now?
resource "nxos_rest" "create-vlan" {
dn = "sys/bd"
class_name = "bdEntity"
children = [
{
rn = "sys/bd/bd-[vlan-55]"
class_name = "l2BD"
content = {
name = "this-is-vlan-55"
fabEncap = "vlan-55"
}
}
]
}
I do not see how this VLAN can be removed. Even if I remove this resource from the main.tf file this VLAN still remains, I already had a similar case with CDP and LLDP added by nxos_rest. To this day this has not been fixed, and it was reported 3 months ago. On GitHub where I reported the issue nobody even wrote me back.
Solved! Go to Solution.
11-26-2024 10:04 AM
Responded to the GitHub issue here: https://github.com/CiscoDevNet/terraform-provider-nxos/issues/280
11-26-2024 10:04 AM
Responded to the GitHub issue here: https://github.com/CiscoDevNet/terraform-provider-nxos/issues/280
11-26-2024 11:17 PM
Thanks for your help. I didn't know it would work like that. That's what I missed, it probably solves my other problem with CDP and LLDP.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide