Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: equinix_fabric_routing_protocol not using schema timeouts #627

Open
ocobles opened this issue Mar 26, 2024 · 1 comment
Open

[Bug]: equinix_fabric_routing_protocol not using schema timeouts #627

ocobles opened this issue Mar 26, 2024 · 1 comment
Labels
area/resources/fabric Issues related to Fabric and ECX APIs bug Something isn't working

Comments

@ocobles
Copy link
Contributor

ocobles commented Mar 26, 2024

equinix_fabric_routing_protocol waitUntilRoutingProtocolIsProvisioned function is not taking default schema timeout

In fact none of the "WaitFor" functions do it. I have also been able to verify that the same thing happens with other Fabric resources such as fabric_connection, fabric_cloud_router, fabric_network... This means that if users define a value to override the default value it is never being used.

Here's an example of how the schema timeouts must be consumed

createTimeout := d.Timeout(schema.TimeoutCreate) - 30*time.Second - time.Since(start)

@ocobles ocobles added the bug Something isn't working label Mar 26, 2024
@ocobles
Copy link
Contributor Author

ocobles commented Mar 26, 2024

Furthermore, it almost always gives an error, so a longer default timeout would be more appropriate.

@displague displague added the area/resources/fabric Issues related to Fabric and ECX APIs label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/resources/fabric Issues related to Fabric and ECX APIs bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants