We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created from discussion #2072
The following doesn't work (gives template function 'reference' is not expected at this location at deploy time):
template function 'reference' is not expected at this location
output snetIds array = [for subnet in vnet.properties.subnets: { subName: subnet.name subId: subnet.id }]
Instead, the following must be used:
output snetIds array = [for i in range(0,length(subnets)): { subName: vnet.properties.subnets[i].name subId: vnet.properties.subnets[i].id }]
The text was updated successfully, but these errors were encountered:
This is somewhat related to #2391
Sorry, something went wrong.
Fix issue #2090 and #1699
868426f
Deploy time constant and direct resource/module collection reference …
b73d01f
…fixes (#2461) * Fix issue #2391. * Fix issue #2090 and #1699 * for-loop expression => for-expression
shenglol
Successfully merging a pull request may close this issue.
Created from discussion #2072
The following doesn't work (gives
template function 'reference' is not expected at this location
at deploy time):Instead, the following must be used:
The text was updated successfully, but these errors were encountered: