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

Feature request - default timeout as provider config #75

Open
pregress opened this issue Jan 23, 2024 · 1 comment
Open

Feature request - default timeout as provider config #75

pregress opened this issue Jan 23, 2024 · 1 comment

Comments

@pregress
Copy link
Contributor

Change the defaultTimeout to be variable that can be set in the provider:

defaultTimeout = schema.DefaultTimeout(30 * time.Second)

Why?
If you use azuread_default_chain_auth sometimes you receive a timeout if you depend on Azure CLI credential.

Example usage:

provider "mssql" {
  debug = "false"
  defaultTimeout = 60
}
@PeteAtWSA
Copy link

This is also useful for azure sql database with a low performance.
There you get a "db connection failed after 30s timeout" failure frequently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants