Terraform
- Conflicting properties
Reports conflicting properties in an HCL block.
- Deprecated blocks/properties
Reports deprecated blocks or properties.
- HIL expression can be converted to HCL2
Reports old style HCL expressions and suggests converting them to HCL2 expressions.
- Illegal interpolation
Reports illegal interpolations.
- Incorrect .tfvars content
Reports errors in vars files.
- Incorrect variable type
Reports incorrect variable type.
- Invalid block names
Reports invalid block labels or incorrect number of labels according to the schema.
- Invalid string and number literal
Reports string and number invalid literals.
- Missing required property
Reports blocks with missing required properties.
- Operation argument type mismatch
Reports operations incorrect argument types.
- Suboptimal expression
Reports suboptimal HCL2 expressions and suggests simplifications.
- Terraform isn't initialized
Reports if terraform was not initialized in the current working directory.
- Unavailable scope
Reports usage of unavailable scopes, e.g.
- Unknown block type
Reports blocks with an unknown type (first literal).
- Unknown property
Reports unknown properties in blocks.
- Unknown resource types referenced
Reports unknown (non-used in module) resource type usage.
- Unknown type
Detects resources/datasources provided by an unknown provider.
- Unresolved module
Reports unresolved modules and suggests running terraform get to update the modules.
- Unresolved reference
Reports unresolved references.
- Duplicates
Sub-group of 4 inspections that provide checks for Duplicates