I have a bicep template that is run from a 'scaffolding' devops pipeline that creates an azure function app. This includes an app setting for WEBSITE_RUN_FROM_PACKAGE set to 1.
I have a separate devops pipeline that runs a dotnet build and deploys the function app's code zip into the newly provisioned function app. My problem is, this fails because it seems the function app is down - due to the fact that WEBSITE_RUN_FROM_PACKAGE is set to 1 and it can't find the code zip file yet.
I've described the problem in more detail here
Anyone else run into this chicken-egg problem?