We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform version: v1.1.5 Kubernetes provider version: v2.21.0 Kubernetes version: 1.25.5
The provider itself
provider "kubernetes" { host = azurerm_kubernetes_cluster.aks.kube_admin_config.0.host username = azurerm_kubernetes_cluster.aks.kube_admin_config.0.username password = azurerm_kubernetes_cluster.aks.kube_admin_config.0.password client_certificate = base64decode(azurerm_kubernetes_cluster.aks.kube_admin_config[0].client_certificate) client_key = base64decode(azurerm_kubernetes_cluster.aks.kube_admin_config[0].client_key) cluster_ca_certificate = base64decode(azurerm_kubernetes_cluster.aks.kube_admin_config[0].cluster_ca_certificate) }
Error: Conflicting configuration arguments │ │ with provider["registry.terraform.io/hashicorp/kubernetes"], │ on aks.tf line 198, in provider "kubernetes": │ 198: username = azurerm_kubernetes_cluster.aks.kube_admin_config.0.username │ │ "username": conflicts with token ╵ ╷ │ Error: Conflicting configuration arguments │ │ with provider["registry.terraform.io/hashicorp/kubernetes"], │ on aks.tf line 199, in provider "kubernetes": │ 199: password = azurerm_kubernetes_cluster.aks.kube_admin_config.0.password │ │ "password": conflicts with token ╵ ╷ │ Error: Conflicting configuration arguments │ │ with provider["registry.terraform.io/hashicorp/kubernetes"], │ on aks.tf line 200, in provider "kubernetes": │ 200: client_certificate = base64decode(azurerm_kubernetes_cluster.aks.kube_admin_config[0].client_certificate) │ │ "client_certificate": conflicts with username ╵ ╷ │ Error: Conflicting configuration arguments │ │ with provider["registry.terraform.io/hashicorp/kubernetes"], │ on aks.tf line 201, in provider "kubernetes": │ 201: client_key = base64decode(azurerm_kubernetes_cluster.aks.kube_admin_config[0].client_key) │ │ "client_key": conflicts with username ╵
Move from hashicorp kubernetes provider version 2.20.0 to 2.21.0 (released 3 days ago) terraform plan
The plan command is ran without error
I get an error chain stating I have conflicting configuration arguments
Fixing the provider version to 2.20.0 solves the issue. I didn't have any issue with previous hashicorp kubernetes provider version bumps
Didn't find any
The text was updated successfully, but these errors were encountered:
I believe this is related to #2084 I will mark this closed and follow the PR
Sorry, something went wrong.
No branches or pull requests
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
The provider itself
Terraform Configuration Files
Debug Output
Error: Conflicting configuration arguments
│
│ with provider["registry.terraform.io/hashicorp/kubernetes"],
│ on aks.tf line 198, in provider "kubernetes":
│ 198: username = azurerm_kubernetes_cluster.aks.kube_admin_config.0.username
│
│ "username": conflicts with token
╵
╷
│ Error: Conflicting configuration arguments
│
│ with provider["registry.terraform.io/hashicorp/kubernetes"],
│ on aks.tf line 199, in provider "kubernetes":
│ 199: password = azurerm_kubernetes_cluster.aks.kube_admin_config.0.password
│
│ "password": conflicts with token
╵
╷
│ Error: Conflicting configuration arguments
│
│ with provider["registry.terraform.io/hashicorp/kubernetes"],
│ on aks.tf line 200, in provider "kubernetes":
│ 200: client_certificate = base64decode(azurerm_kubernetes_cluster.aks.kube_admin_config[0].client_certificate)
│
│ "client_certificate": conflicts with username
╵
╷
│ Error: Conflicting configuration arguments
│
│ with provider["registry.terraform.io/hashicorp/kubernetes"],
│ on aks.tf line 201, in provider "kubernetes":
│ 201: client_key = base64decode(azurerm_kubernetes_cluster.aks.kube_admin_config[0].client_key)
│
│ "client_key": conflicts with username
╵
Panic Output
Steps to Reproduce
Move from hashicorp kubernetes provider version 2.20.0 to 2.21.0 (released 3 days ago)
terraform plan
Expected Behavior
The plan command is ran without error
Actual Behavior
I get an error chain stating I have conflicting configuration arguments
Important Factoids
Fixing the provider version to 2.20.0 solves the issue. I didn't have any issue with previous hashicorp kubernetes provider version bumps
References
Didn't find any
Community Note
The text was updated successfully, but these errors were encountered: