I am trying to send below variable to azure arm. the parameter type is array. This is working when directly entering the parameter value, but not working when selecting file inside a package/octopus variable. Could you please help me on identifying the issue. I have attached screenshot of working and not working scenario.
So it looks like you’re still using a variable to bind your array object to a parameter in your ARM template, which isn’t supported at this point in time.
You need to put the actual value of your locations variable in the parameter field unfortunately, you can still have the variable location1 within it though and it will be replaced as expected.
So you’d enter the below into your parameter field: