equinix-labs / terraform-equinix-metal-nutanix-cluster

Nutanix Cluster on Equinix Metal
https://deploy.equinix.com/labs/terraform-equinix-metal-nutanix-cluster/
Apache License 2.0
2 stars 6 forks source link

improve delete of `metal_port` resources with `reset_on_delete = true` #86

Closed displague closed 1 month ago

displague commented 2 months ago

I think we could also resolve this by configuring the metal_port resources with reset_on_delete = true to ensure the VLAN is detached from the port before the resource is deleted. Ref: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/network_types#layer-2-unbonded-port

_Originally posted by @ctreatma in https://github.com/equinix-labs/terraform-equinix-metal-nutanix-cluster/pull/82#discussion_r1672946099_