Closed baywet closed 4 years ago
Note, also tried with schema "http://json.schemastore.org/azure-iot-edge-deployment-template-1.0"
The CLI now validates your deployment with this schema which should be compatible with 1.0. As you mentioned you need to remove "$schema" - because its not a defined property in the schema and the schema is not configured to allow additional properties at that context.
If you are using $schema in conjunction with editor/ide tooling support, in a future release we can pop this element before validation to support your use case.
Thanks for the quick follow up. Yes we'd like to keep the schema, makes things much easier in the IDE.
closing as 0.8.3 fixes the issue. Thanks for the quick turnaround!
Repro: Command
Configuration file
Error message
Workaround removing the $schema property from our configuration file. Azure cli version: 2.0.74 extension version: 0.8.2 environment: windows Note: also having the issue with azure iot edge tasks for azure devops on ubuntu hosted agent.