-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
There is a known issue by which the current module doesn't work with Kubernetes Provider 1.11.
The recommendation until this is solved is to fix your Kubernetes provider version to v1.10.
This bug is been discussed in terraform-provider-kubernetes#759
Terraform version: v0.12.19
Kubernetes provider version: ~> 1.11
Error:
terraform plan -var-file="vars/basic.tfvars"
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
------------------------------------------------------------------------
Error: Failed to initialize config: invalid configuration: no configuration has been provided
on providers.tf line 6, in provider "kubernetes":
6: provider "kubernetes" {How to replicate the error:
provider "azurerm" {
version = "~> 2.0"
features {}
}
provider "kubernetes" {
version = "~> 1.11"
load_config_file = false
host = azurerm_kubernetes_cluster.cloudcommons.kube_config.0.host
client_certificate = base64decode(azurerm_kubernetes_cluster.cloudcommons.kube_config.0.client_certificate)
client_key = base64decode(azurerm_kubernetes_cluster.cloudcommons.kube_config.0.client_key)
cluster_ca_certificate = base64decode(azurerm_kubernetes_cluster.cloudcommons.kube_config.0.cluster_ca_certificate)
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working