bug(misconf): Fix rendering of map slices in Terraform resource block #5172
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Motivation
When processing a tfplan that contains the following Terraform resource, the hcl file is not output correctly.
expected
actual
wrong points
ami_tags = map[string]interface {}{"CostCenter":"IT"}
cidr_blocks = = [
cidr_blocks = = [
These problems prevent
trivy config . /tfplan.json
does not work correctly and I would like to fix it.JSON file for reproduction
The text was updated successfully, but these errors were encountered: