azure-iot-toolkit.iotHubConnectionString
. Update the config of azure-iot-toolkit.iotHubConnectionString
to change your IoT Hub Connection String.
I am noticing that the Azure IoT Hub extension is now throwing an error if any create options are specified for any custom modules.
Ex: Given the following entry in a deployment.template.json:
"modules": {
"YoloModule": {
"version": "1.0",
"type": "docker",
"status": "running",
"restartPolicy": "always",
"settings": {
"image": "${MODULES.YoloModule}",
"createOptions": {
"Env": [
"VIDEO_PATH=$CONTAINER_VIDEO_SOURCE",
"VIDEO_WIDTH=0",
"VIDEO_HEIGHT=0",
"FONT_SCALE=0.8"
]
}
}
}
}
Will result in an error when attempting to "Create Deployment to a Single Device" from VS Code with:
There are errors in deployment json file: data.modulesContent.$edgeAgent['properties.desired'].modules['YoloModule'].settings should NOT have additional properties
This configuration has worked without issue since July 2019, and only started receiving reports of being broken since the latest update was released 6 days ago. The deployment can be seen here: https://github.com/toolboc/IntelligentEdgeHOL/blob/master/deployment.template.json
Many users are reporting similar issues, the problem is in the schema validation, it is assuming that ANY entries aside from image for ANY custom module is invalid. This is going to break ALOT of deployments: