Setting the scene
Okay that title has quite a few elements to it, so let's break down exactly what we're trying to do here...
Our situation:
- An Azure Function running on a consumption plan
- Deployment slots configured within our IaC (a guide on these could be a separate post)
- An ADO pipeline that deploys our IaC, code and then swaps our staging and production slot