After a lengthy investigation my issue was that I could not access the dbt
package in the default pip install
location that Azure Function Publish as Code places packages in the requierments.txt
file.
I created a new Function publishing as Docker as opposed to Code.
In addition I set-up a Azure DevOps Pipeline and atler the default pip install
path which is:
pip install --target="./.python_packages/lib/site-packages" -r ./requirements.txt
And set the path to: pip install -r ./requirements.txt
in the azure-pipelines.yml
file.
I'm unsure if the default pip install
location can be altered when publishing as Code.
More info can be found in this stackoverflow post