When Terraform 0.13 is available, we need to verify the compatibility of the provider with 0.13 and make any associated fixes.
I have problems when using Kubernetes provider 1.11.3 for terraform destroy operation with Terraform 0.13.0-beta3.
The error is:
Error: Kubernetes cluster unreachable: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
It works fine with Terraform 0.12.28.
My provider configuration is:
data "azurerm_kubernetes_cluster" "aks" {
name = var.aks_cluster_name
resource_group_name = var.aks_rg_name
}
provider "kubernetes" {
version = "1.11.3"
load_config_file = false
host = data.azurerm_kubernetes_cluster.aks.kube_config.0.host
client_certificate = base64decode(data.azurerm_kubernetes_cluster.aks.kube_config.0.client_certificate)
client_key = base64decode(data.azurerm_kubernetes_cluster.aks.kube_config.0.client_key)
cluster_ca_certificate = base64decode(data.azurerm_kubernetes_cluster.aks.kube_config.0.cluster_ca_certificate)
}
provider "helm" {
version = "1.2.3"
kubernetes {
load_config_file = false
host = data.azurerm_kubernetes_cluster.aks.kube_config.0.host
client_certificate = base64decode(data.azurerm_kubernetes_cluster.aks.kube_config.0.client_certificate)
client_key = base64decode(data.azurerm_kubernetes_cluster.aks.kube_config.0.client_key)
cluster_ca_certificate = base64decode(data.azurerm_kubernetes_cluster.aks.kube_config.0.cluster_ca_certificate)
}
}
Closing since we've been using Terraform 0.13 for some time now.
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
Most helpful comment
I have problems when using Kubernetes provider 1.11.3 for
terraform destroyoperation with Terraform 0.13.0-beta3.The error is:
It works fine with Terraform 0.12.28.
My provider configuration is: