-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Make terraform init cancellable #23647
Comments
I've merged #26405 which makes the provider installation part of |
It would make sense to make the |
@stigok It may be better to discuss and track that in a separate thread, because there is already many operations which run as part of Relatedly it's possible that making |
@apparentlymart I think downloading would usually take the most time, so that helps a lot, but it would still be useful to make the initial discovery cancellable too - for example to tackle DNS or proxy issues when the first request just hangs and eventually times out. |
Terraform Version
Terraform Configuration Files
Expected Behavior
Discovery of providers should be cancelled when SIGINT is received.
Actual Behavior
Discovery continues.
Steps to Reproduce
terraform init
References
hashicorp/terraform-plugin-sdk#141
The text was updated successfully, but these errors were encountered: