cisco-open / terraform-provider-meraki

A Terraform Provider for Cisco Meraki
Mozilla Public License 2.0
17 stars 7 forks source link

terrafrom destroy fails on an appliance with multi VLAN and a SSID configured with that VLAN #166

Closed yujiterada closed 1 month ago

yujiterada commented 1 month ago

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.

  1. configure appliance with multi VLAN
  2. configure VLAN X
  3. 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.

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.