Reports conflicting properties in an HCL block.

Example of a problem:


provider "kubernetes" {
  version = "~> 1.25"
  config_path = "~/.kube/config"
  version = "~> 1.24"
}

In this example, the version property is declared twice in the Kubernetes provider block, which is an error.

Example of correction:


provider "kubernetes" {
  version = "~> 1.25"
  config_path = "~/.kube/config"
}
Powered by: Terraform and HCL plugin