Given two variables of type array in an ARM template, using concat gives me:
The template variable 'thirdArray' is not valid: Unable to evaluate language function 'concat': al
l function arguments must be string literals, integer values, boolean values or arrays.
All function arguments are arrays, so I don't see what's wrong.
"variables": {
"firstArray": {
"type": "array",
"value": [
"1-1",
"1-2",
"1-3"
]
},
"secondArray": {
"type": "array",
"value": [
"2-1",
"2-2",
"2-3"
]
},
"thirdArray": {
"type": "array",
"value": "[concat(variables('firstArray'), variables('secondArray'))]"
}
}