hashicorp / terraform-aws-consul

A Terraform Module for how to run Consul on AWS using Terraform and Packer
Apache License 2.0
401 stars 484 forks source link

Relative path cannot be resolved when called from outside this module #10

Closed dgrstl closed 7 years ago

dgrstl commented 7 years ago

https://github.com/hashicorp/terraform-aws-consul/blob/eb04a460a393763c38a55774077edaaafa755e6f/modules/consul-cluster/main.tf#L123

For example, https://github.com/hashicorp/terraform-aws-nomad/blob/master/examples/nomad-consul-separate-cluster/main.tf#L123-L124

dgrstl commented 7 years ago

Ditto for https://github.com/hashicorp/terraform-aws-consul/blob/master/modules/consul-cluster/main.tf#L185

brikis98 commented 7 years ago

Are you on Terraform 0.10.6? If so, this is a bug in Terraform as reported in https://github.com/hashicorp/terraform-aws-vault/issues/6.

dgrstl commented 7 years ago

I am, tested with 0.10.5 and works fine.

brikis98 commented 7 years ago

OK, great. I'm going to close this one in favor of https://github.com/hashicorp/terraform-aws-vault/issues/6. Hopefully, the next release of Terraform will fix this for good.