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
equinix_routing_protocol applies should not have any dependencies when creating them and should be allowed to be successful independently
Actual Behavior
equinix_routing_protocol requires synchronization for Direct and BGP for creation/deletion. In order to successfully use this resource type on a Fabric Cloud Router connection you must create equinix_routing_protocol for Direct before creating equinix_routing_protocol for BGP, and you must delete equinix_routing_protocol for BGP before you can delete equinix_routing_protocol for Direct
The solution is to use the Terraform Meta argument depends_on
Using the following config will resolve the errors shown when using this resource:
A draft for a proposed combination of both routing protocols into a single resource is here (though this is a pattern error to house multiple resources under a single resource): #436
Steps to Reproduce
Before All:
Create Fabric Cloud Router Connection
BGP Routing Protocol Creation Error:
Create equinix_routing_protocol with BGP details on that connection before creating a equinix_routing_protocol with Direct details
Error creating BGP resource before creating direct resource
Direct Routing Protocol Deletion Error:
Create 2 equinix_routing_protocol resources on a the created connection
Remove config for equinix_routing_protocol Direct details and run terraform apply
Error deleting Direct resource before BGP resource
The text was updated successfully, but these errors were encountered:
Terraform Version
Terraform v1.5.4 on darwin_arm64
Equinix Provider Version
version = 1.21.0
Effected Terraform Resources
equinix_fabric_routing_protocol
Terraform Config Files
Debug Output
No response
Panic Output
No response
Expected Behavior
equinix_routing_protocol applies should not have any dependencies when creating them and should be allowed to be successful independently
Actual Behavior
equinix_routing_protocol requires synchronization for Direct and BGP for creation/deletion. In order to successfully use this resource type on a Fabric Cloud Router connection you must create equinix_routing_protocol for Direct before creating equinix_routing_protocol for BGP, and you must delete equinix_routing_protocol for BGP before you can delete equinix_routing_protocol for Direct
The solution is to use the Terraform Meta argument depends_on
Using the following config will resolve the errors shown when using this resource:
A draft for a proposed combination of both routing protocols into a single resource is here (though this is a pattern error to house multiple resources under a single resource): #436
Steps to Reproduce
Before All:
BGP Routing Protocol Creation Error:
Direct Routing Protocol Deletion Error:
The text was updated successfully, but these errors were encountered: