Closed korve closed 3 years ago
Terraform version: v1.0.0 Provider version: 0.5.0 Kubernetes version: 1.20.2
kubernetes-alpha
https://gist.github.com/korve/6b5c229a2d2376badd8229bff254a71c
terraform apply
The kubernetes-alpha provider should be able to load the kubeconfig from config_path.
config_path
The kubernetes-alpha provider ist not able to load the kubeconfig from config_path.
The hashicorp/kubernetes provider has no problems loading the config file from the same path.
hashicorp/kubernetes
The problem was on my side. The kubeconfig was deleted after my Gitlab pipeline ran, but the tfstate was cached. So the provider didn't check if the local_file existed.
Terraform, Provider, Kubernetes versions
Affected Resource(s)
kubernetes-alpha
providerTerraform Configuration Files
Panic Output
https://gist.github.com/korve/6b5c229a2d2376badd8229bff254a71c
Steps to Reproduce
terraform apply
-->Expected Behavior
The
kubernetes-alpha
provider should be able to load the kubeconfig fromconfig_path
.Actual Behavior
The
kubernetes-alpha
provider ist not able to load the kubeconfig fromconfig_path
.Important Factoids
The
hashicorp/kubernetes
provider has no problems loading the config file from the same path.Community Note