Suboptimal expression
Reports suboptimal HCL2 expressions and suggests simplifications. For example, change element(list, index)
to list[index]
(keep in mind that the suggested simplification may change the semantics).
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Terraform and HCL, 241.16690 |
Last modified: 29 April 2024