I am new with Kubespray and want to install Kubernetes cluster on Openstack. I follow https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/openstack, but got an error when I ran initialization terraform init ../../contrib/terraform/openstack
The module address "modules/compute" could not be resolved.
If you intended this as a path relative to the current module, use
"./modules/compute" instead. The "./" prefix indicates that the address is a
relative filesystem path.```
I can see modules folder under openstack folder.
```ls ../../contrib/terraform/openstack/modules/
compute ips network```
Any help would be appreciated.
I was getting the same error. I resolved it by downgrading the terraform to Terraform v0.11.13
Please try these steps:
wget https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_linux_amd64.zip
sudo unzip ./terraform_0.11.13_linux_amd64.zip -d /usr/local/bin/
terraform init ../../contrib/terraform/openstack