A temporary guest VLAN resource must leave a civic center switch that Terraform owns. How should deprovisioning be done in the Terraform workflow?
Select an answer to reveal the explanation.
Short Explanation
Take the shelf off the blueprint and apply—Terraform clears what it owned. A console “no vlan” leaves state lying about reality.
Full Explanation
Lifecycle destroy via Terraform means deleting or commenting out the resource and applying so Terraform deprovisions that interface, VLAN, or route. terraform destroy of the whole root is the blunt form of the same idea. Console no vlan leaves state inconsistent. Editing only state or blocking reachability does not correctly deprovision through the workflow.