No unique copy names for loops inside resources #13171
Labels
bug
Something isn't working
Needs: Upvote
This issue requires more votes to be considered
Quality Sprint: Yes
Milestone
Bicep version
0.24.24
Describe the bug
Following template results in error:
Duplicate resource copy names are not allowed in templates using symbolic names.
To Reproduce
Problem is that in generated json, there are copy objects with this same name
federation
. using same symbolic names is not forbidden in bicep as they are nested under different symbolic names. codegen when creating loops should generate names taking into account entire "path" rather than just the last part.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: