Is there plans to support nested loop on resources? #1280
-
Resources like Application Gateway have more than one level of nesting and we have struggled to generalise our ARM templates to pass in configuration dynamically. In particular, the issues we've had were around the urlPathMaps and pathRules. We have an external JSON file that describes the applications that need to be added to the AGW and we supply that file as a parameter to the AGW ARM template to generate all the required settings. Is there any plans to support nested loops? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Yes, we do plan to support this. It's not possible to do nested loops of multiple properties within a resource in ARM templates today, so we will need to update the "runtime" to be able to handle that, and then we will enable it in bicep. So first we will release general support for loops to get to parity with ARM templates, then add nested loops in a later release. |
Beta Was this translation helpful? Give feedback.
Yes, we do plan to support this. It's not possible to do nested loops of multiple properties within a resource in ARM templates today, so we will need to update the "runtime" to be able to handle that, and then we will enable it in bicep.
So first we will release general support for loops to get to parity with ARM templates, then add nested loops in a later release.