You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform destroy removes both primary and secondary connection
Actual Behavior
Terraform destroy only removes the primary connection. this is verified by inspecting the ECX Fabric portal, and the Azure expressroute circuit remaining in the "provisioned" state, so can't be destroyed either.
Hey @wrgeorge1983 thanks for reporting this. The terraform provider used to store the data of the secondary connection based on the RedundantUUID field returned by the API. This field is no longer being returned and for this reason the actions on the secondary connection are not working properly.
We're working on this issue to have it fixed in the next release.
We will also add a status check to wait until the secondary connection is removed. This way your Azure module won't try to destroy the circuit until the connection is deleted on the Equinix side.
Community Note
Terraform Version
Terraform v1.0.11
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.1.5. You can update by downloading from https://www.terraform.io/downloads.html
Affected Resource(s)
equinix_ecx_l2_connection
Terraform Configuration Files
Expected Behavior
Terraform destroy
removes both primary and secondary connectionActual Behavior
Terraform destroy
only removes the primary connection. this is verified by inspecting the ECX Fabric portal, and the Azure expressroute circuit remaining in the "provisioned" state, so can't be destroyed either.Steps to Reproduce
terraform apply
terraform destroy
References
The text was updated successfully, but these errors were encountered: