terraform-provider-netbox
terraform-provider-netbox copied to clipboard
✨ Add request timeout for http client via NETBOX_REQUEST_TIMEOUT
Hi!
Thank you for this pr! I wonder if we lose some value with the "if 0 is given, use 10" logic, because the docs of the http package say
// A Timeout of zero means no timeout.
,
which might be a behavior that is useful for some people.
Can we use the default value field of EnvDefaultFunc instead? Thoughts?
PS: Also, can you please update the docs with go generate
:D
Hi @fbreckle,
you are totally right! Updated the PR.