I am going to be using the test function that VS-code azure extension auto creates as a "simple" case for this problem.
I can add any modules (pandas, requests, facebook) in requirements.txt and it works fine. However when I add google-cloud-storage, my function breaks and only returns 500.
I should note it only breaks when testing on Azure, when run locally it works fine
Also, if the function is created in the Azure Portal (rather than connecting to Github) and google-cloud-storage is pip installed using ssh, then the function also works fine.
It seems to be when VS-code is being used to deploy the function with 'google-cloud-storage' in requirements.txt that we get problems. Anyway, thats what I've found, any help would be appreciated
**How to reproduce: ** **Step 1: **Created Function App
This function App uses: App Service Plan, Basic B1 (100 total ACU, 1.75 GB memory, 1 vCPU) enter image description here Can only do Linux as windows isnt supported when selecting python
**Step 2: **The default function is created with VS-code azure extension https://i.stack.imgur.com/XBLpV.png
The function looks like this enter image description here
Step3: I now add this to my github repository and which then gets picked up by the Azure App service to deploy as a function. Using the function app is connected to the repo enter image description here
We have success without google-cloud-storage in requirements.txt enter image description here
Now we add google-cloud-storage: enter image description here we then git push this to our repo and Azure creates our deployment
When we try to test the function now, we get consistent 500 results with no logs. enter image description here
I want to continue to using the Git-hub approach, so a solution where we keep the same process would be great but any advice will be amazing. Thanks in advance guys.
Tried pip installing google-cloud-storage manually using ssh and then deploying with VS-code, that broke that whole function app.