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
running terraform plan on the upstream/aws/rke recipe throws the following error after filling in the required variables in terraform.tfvars:
Invalid attribute in provider configuration
with module.rancher_install.provider["registry.terraform.io/hashicorp/kubernetes"],
on ../../../../modules/rancher/provider.tf line 7, in provider "kubernetes":
7: provider "kubernetes" {
'config_path' refers to an invalid path: "/tmp/tf-rancher-up/recipes/upstream/aws/rke/kourosh-maneshni_kube_config.yml": stat /tmp/tf-rancher-up/recipes/upstream/aws/rke/kourosh-maneshni_kube_config.yml: no such file or directory
The text was updated successfully, but these errors were encountered:
It seems like it expects the kube config file to exist. When I ran touch kourosh-maneshni_kube_config.yml in that directory, terraform plan no longer threw the error.
Why does it need to exist? Shouldn't the rke cluster creation create that file for you as an output?
running
terraform plan
on theupstream/aws/rke
recipe throws the following error after filling in the required variables interraform.tfvars
:The text was updated successfully, but these errors were encountered: