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

Terraform init hangs when etcdv3 backend is misconfigured #21181

Closed
avorima opened this issue May 2, 2019 · 3 comments
Closed

Terraform init hangs when etcdv3 backend is misconfigured #21181

avorima opened this issue May 2, 2019 · 3 comments
Labels
bug v0.11 Issues (primarily bugs) reported against v0.11 releases

Comments

@avorima
Copy link

avorima commented May 2, 2019

Terraform Version

Terraform v0.11.13

Terraform Configuration Files

terraform {
  backend "etcdv3" {
    endpoints = ["some.random.host"]
  }
}

Debug Output

Crash Output

Expected Behavior

Terraform init should fail, because the connection to etcd backend couldn't be established.

Actual Behavior

Terraform hangs forever.

Steps to Reproduce

terraform init

Additional Context

The etcd client has a dial timeout config option that would prevent this, but terraform doesn't allow setting it.

References

@hashibot hashibot added the v0.11 Issues (primarily bugs) reported against v0.11 releases label Aug 22, 2019
@jsok
Copy link

jsok commented Oct 8, 2019

Can confirm behaviour - I accidentally mixed up my cacert_path and cert_path and terraform just hung indefinitely.

@mildwonkey
Copy link
Contributor

This is a duplicate of #19185, so I will close this one to consolidate conversation there. Thanks!

@ghost
Copy link

ghost commented Oct 13, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug v0.11 Issues (primarily bugs) reported against v0.11 releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants