Failure using output parameter in ARM template


I’m trying to use an output parameter in an ARM template. But it appears as if the value of the output parameter is being put in the ‘type’ property of the parameter, instead of the value.

Pre-Deploy script (inline)

Set-OctopusVariable -Name "AseManagementIpAddresses" -Value (@($management.endpoints) -join ',')

ARM template parameters file

    "$schema": "",
    "contentVersion": "",
    "parameters": {

        "aseManagementIpAddresses": {
            "type": "#{AseManagementIpAddresses}"

Portions of deployment log


Error submitting deployment 
The request content was invalid and could not be deserialized: 'Error converting value "," to type 'System.Nullable`1[Microsoft.WindowsAzure.ResourceStack.Frontdoor.Templates.Schema.TemplateParameterType]'. Path 'properties.parameters.aseManagementIpAddresses.type', line 619, position 652.'. 

Note this is all in the same step. Not separate steps. I may try that next to see if that makes any difference but the value of the output variable looks correct. It’s simply getting put in a ‘type’ property of the parameter, instead of the ‘value’ as expected (which is what I see in other arm parameter usage).

Am I using the output variable in a weird way?

Oh my word.

It’s Friday. I failed to account for that.

My parameters.json is wrong.


Thank you.

Hi David,

Thanks for the update here! No one is ever safe from Friday. :slight_smile:

Please don’t hesitate to get in touch at any time.

Best regards,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.