-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Problem with Terraform module dependencies (etcd, wireguard) #22
Comments
Hello @pstadler! |
Terraform did it again. This is a long lasting issue with dependencies between modules. Every once in a while things stop working. With the current version etcd is getting created before the wireguard module finishes. They promise to fix this in a future version. See hashicorp/terraform#18239 Unfortunately, I couln't find a workaround so far. Theoretically you should be able to run |
@pstadler, there may be a hackaround for that so Terraform finishes in one go... For the
Here, the catch is that you
It's not the best solution in the world but it does the job for now until this issue gets resolved. Please let me know if anyone has a better solution! |
It's really frustrating. I've been fighting with this since the beginning. As you can see in main.tf, there are indeed output variables used as input across all modules. This has been working until some recent Terraform release and I can't really see how to hack around this problem. |
What was the last version of Terraform which did not have this issue? |
I'm quite sure it broke after 0.11.3 or 0.11.5. |
Confirmed, I don't see this issue in 0.11.3. Haven't tested yet with 0.11.5. Perhaps then this should be noted in the readme. The process for brew:
|
Just upgraded Terraform to 0.11.8. Seems to be working again. |
I have encountered this on 0.11.10 😢 |
I'm using Terraform 0.12.16 and have the same problem... |
0.11.11 and have the same problem :/ |
Still seeing this on Terraform v0.12.25 |
With current master and basic setup using:
hcloud - provider
cloudflare - dns
I logged into one of the instances and there seem to problem:
I assume it's issue with networking between nodes.
The text was updated successfully, but these errors were encountered: