Inspectopedia Help

Conflicting properties

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

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

HCLBlockConflictingProperties
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Terraform

Availability

By default bundled with

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin

Terraform and HCL, 241.18072

Last modified: 18 June 2024