Hi,
I’ve come across an issue. I’ve adjusted my working arm template to have a object parameter which has a number of bool values in it. Example below. Every time, I run the template, it fails saying that it expected a bool but getting a string value. This is because octopus is placing a string value with a double quote around the value. So instead of true, it writes “true” which will get interpreted as a string. How can I get the octopus to pass the value as it is without quotes. I can’t believe I cannot specify in Octopus that the data type is a bool? Is everything passed as a String type?
“parameters”: {
“Require”:{
“value”: {
“NSG”: true,
“PIPaddress”: true,
“BootDiags”: true,
“LogAnalytics”: true,
“DSCScript”: true,
“CustomScript”: true
}
},
Thanks
Russell