microsoft / vscode-azure-iot-tools

The ultimate collection of extensions for working with Azure IoT in VS Code!
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools
MIT License
20 stars 19 forks source link

IoT Edge template: deployment manifest file has invalid schema version 1.2 #46

Open katriendg opened 2 years ago

katriendg commented 2 years ago

When creating a new IoT Edge Solution using the C# template (but also peers using the Python one), the generated deployment.template.json file has an invalid schema for the edge agent.

As described in this document, the new version as of IoT Edge 1.0.10 is 1.1, but the template uses 1.2: https://docs.microsoft.com/en-us/azure/iot-edge/module-composition?view=iotedge-2020-11#configure-modules Deployment seems to work fine, but as soon as you sign into the Azure Portal, the IoT Edge device page shows an error message.

When I change the schema version to 1.1 as below, the validation pattern shows squiggly line which seems incorrect:

image