Describe the bug
As title says, terraform destroy fails when appliance is configured with multi VLAN and an SSID is configured with that VLAN. For example, let's say we configure the following in order.
configure appliance with multi VLAN
configure VLAN X
configure SSID with VLAN X
Delete function exists for _resource_meraki_networks_appliancevlans but does not for _resource_meraki_networks_appliancessids. Therefore, terraform destroy fails when running the delete function for _resource_meraki_networks_appliancevlans.
Expected behavior
Terraform destroy should not fail.
Environment (please complete the following information):
Terraform version: 1.9.5
Meraki provider version: 0.2.11-alpha + Fix #164
OS Version: macOS 14.6.1 (23G93)
Additional context
Disabling the SSID will allow the VLANs to be deleted. However, delete function should restore as much default configuration as possible.
name: Unconfigured SSID #
auth: open
enable: false
VLAN should be untouched because appliance could be running in single/multi VLAN. Also, VLAN 1 may not exist on the appliance. This should be added as a warning.
Prerequisites
Describe the bug As title says, terraform destroy fails when appliance is configured with multi VLAN and an SSID is configured with that VLAN. For example, let's say we configure the following in order.
Delete function exists for _resource_meraki_networks_appliancevlans but does not for _resource_meraki_networks_appliancessids. Therefore, terraform destroy fails when running the delete function for _resource_meraki_networks_appliancevlans.
Expected behavior Terraform destroy should not fail.
Screenshots N/A
Debug debug.log
Environment (please complete the following information): Terraform version: 1.9.5 Meraki provider version: 0.2.11-alpha + Fix #164 OS Version: macOS 14.6.1 (23G93)
Additional context Disabling the SSID will allow the VLANs to be deleted. However, delete function should restore as much default configuration as possible.