foltik / terraform-provider-vyos

VyOS Router Provider for Terraform (WIP)
MIT License
18 stars 7 forks source link

Add timeouts support #10

Closed angelnu closed 2 years ago

angelnu commented 2 years ago

As I tried to add static DHCP rules for 150 devices I found that defining them individually takes very long on refresh. So instead I am defining them together in a single config_block.

The issue is that the command takes above 10 seconds so it timeouts due to the hardcoded 10 seconds timeout in the provider.

So I would propose to implement cutomizable timeouts.

I could contribute a PR in a few day.

angelnu commented 2 years ago

Implemented by #11