A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
MIT License
1.77k
stars
875
forks
source link
[Bug]: 015-Serverless - Autogenerated functions.json don't work due to known open bug upstream #785
Which Hack?
015-Serverless
Current Behavior
Using VSCode, ProcessImage function uploads but the Input binding is not valid, it needs "direction" : "in"
Expected Behavior
Deploying the function to Azure using VSCode should work out of the box, after doing the required code changes (TODO, etc)
Instead, a manual workaround can be done, manually editing the JSON, manually ZIPping the files and uploading it via CLI https://github.com/Azure/azure-functions-core-tools/issues/3157#issuecomment-1843236365
Steps To Reproduce
Just build and deploy the function, as-is, makes the Azure Portal complain about missing JSON value "direction": "in"
Environment
No response
Anything else?
No response
Code of Conduct