fix(terraform): expand dynamic blocks from top to bottom #7586
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Dynamic blocks are expanded from bottom to top, resulting in misleading error messages if the parent block is empty.
Discussed in #7583
Originally posted by wplj September 24, 2024
Description
Terraform evaluator shows language errors for valid configuration when using Microsoft Azure Verified Module for VM.
Desired Behavior
No errors of such kind are shown.
Actual Behavior
Evaluation errors are shown.
Reproduction Steps
Target
Filesystem
Scanner
Misconfiguration
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Windows 10.0.19045
Version
Checklist
trivy clean --all
The text was updated successfully, but these errors were encountered: