You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, thanks for filing. It would definitely be good to bubble up errors of this nature. It could perhaps happen during linting or maybe at runtime (I'll have to refresh my memory as to if one of path/jsonPath/regex is mandatory... if so, we could error when none is supplied -- as I believe would be the case if the key is incorrect/unknown.) Maybe a linter check would be the best...
I think we need to refresh the schema.json file for the az mixin, and then validate against it during lint. Then when you use VSCode you will get the proper autocomplete and porter build/lint will fail when you typo the outputs.
In my example I was not specifying the jsonPath using correct case (I used
jsonpath
as opposed tojsonPath
):This resulted in the mixin to run without an error, but not picking up the output.
I think the desired outcome should be an error on parsing porter.yaml while running the mixin. Thoughts?
The text was updated successfully, but these errors were encountered: