CiscoDevNet / terraform-provider-nxos

Terraform Cisco NX-OS Provider
https://registry.terraform.io/providers/netascode/nxos
Mozilla Public License 2.0
7 stars 10 forks source link

terraform destroy item still present #229

Closed StevenHolm closed 2 months ago

StevenHolm commented 4 months ago

After running a terraform destroy on applied configuration, it failed to delete the following items

features

feature ospf
feature bgp
feature lacp
feature lldp
feature bfd

Interfaces

Before destroy

interface Ethernet1/1
  description Layer2_port
  no switchport
  vrf member CORE
  ip address 10.255.2.0/31
  no ip ospf passive-interface
  ip router ospf UNDERLAY area 0.0.0.0
  ip ospf bfd
  no shutdown

After destoy

interface Ethernet1/1
  description Layer2_port
  no switchport
  no shutdown

Expected result

interface Ethernet1/1
  shutdown (this due to "system default switchport shutdown")

Rest command not cleaned up

system default switchport shutdown

alxgarder commented 4 months ago

+1

Nije-PCH commented 4 months ago

+1