Azure / iotedge-vm-deploy

ARM template to deploy a VM with IoT Edge pre-installed (via cloud-init)
MIT License
22 stars 43 forks source link

allowSSH of type bool but value of type string #7

Closed shelwig closed 3 years ago

shelwig commented 3 years ago

allowSSH value was set to type bool, but the defaultValue was of type string which was causing an error.

shelwig commented 3 years ago

template was failing on deployment due to incorrect parameter type for the allowSSH flag.

blazickjp commented 3 years ago

Was just about to submit this same PR... thank you!

kaka-lin commented 3 years ago

Found same error.

{"error":{"code":"InvalidTemplate","message":"Deployment template validation failed: 'Template parameter JToken type is not valid. Expected 'Boolean'. Actual 'String'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":54,"linePosition":17,"path":"parameters.allowSsh"}}]}}