Azure / Azure/azure-docs-json-samples

Dynamic names output

Open
#178 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
98
Forks
128
PR merge metrics
No merged PRs in 30d

Description

https://github.com/Azure/azure-docs-json-samples/blob/6ea9e0e0ddff26ef1272949e49e62a7909a7f863/azure-resource-manager/multipleinstance/copyvariables.json#L32

Not an issue, but it would be nice to have generation of dynamic names output.
Someting like this
```
"outputs": {
"networks": {
"type": "array",
"copy": {
"count": "[length(variables('networks'))]",
"input": "[variables('networks')[copyIndex()]]",
"name": "[concat('some', variables('networks')[copyIndex()])]"
}
}
}
```
So, this code just expand array, and 'networks' property is not put to the output

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.