TritonDataCenter / triton-kubernetes

Kubernetes on Triton
Mozilla Public License 2.0
183 stars 44 forks source link

Terraform module name mismatch in create-rancher.tf #72

Closed joerawr closed 6 years ago

joerawr commented 6 years ago

For a Triton install, I was getting this error from Terraform:

Error: output 'masters': unknown module referenced: create_rancher

Error: output 'masters': reference to undefined module "create_rancher"

I think it's because in: triton-kubernetes/terraform/create-rancher.tf

Line 7: module "create_rancher-example" {

doesn't match the module called in lines 34-35:

output "masters" {
value = "${module.create_rancher.masters}"

When I changed line 7 to _createrancher the Terraform section completed without errors.

Hope that helps.

ShubhraKar commented 6 years ago

This issue is related to the older bash version. Please try the new go-cli version and let us know if you still experience the same issue.

joerawr commented 6 years ago

Thanks for the response. I'll try the go-cli version.