You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# leader/main.tf
...
output "private_ip" { value = "${aws_instance.server.private_ip}" }
# follower/main.tf
variable "leader_ip" {}
...
➜ terraform plan
Refreshing Terraform state prior to plan...
...
Error refreshing state: Output field 'private_ip' not found for variable 'module.cluster_leader.private_ip'
Ideally, I'd like for Terraform to calculate that the followers depend on the leader, or the option to specify depends_on for modules.
The text was updated successfully, but these errors were encountered:
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
locked and limited conversation to collaborators
May 4, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I try to use a module output as the input to another module, I get an error when running
terraform plan
, v0.3.5.Ideally, I'd like for Terraform to calculate that the followers depend on the leader, or the option to specify
depends_on
for modules.The text was updated successfully, but these errors were encountered: