[BUG] Handling of for array index symbols #2548
Labels
bug
Something isn't working
feature: pre-flight-expansion
Issues relating to expansion of ARM and Bicep.
Milestone
Existing rule
No response
Description of the issue
A problem exists when trying to cross reference array symbols for iterated resources.
Error messages
No response
Reproduction
This emits the following expression
[reference(format('storageAccount_objectReplicationPolicyItems[{0}]', 0)).sourceAccount]
which can not be matched to a symbol.Version of PSRule
2.9.0
Version of PSRule for Azure
1.31.2
Additional context
No response
The text was updated successfully, but these errors were encountered: