This repository is a set of Azure Functions for managing Azure Container Instances (ACI).
Specifically, when we want to start a model run, our Posit Connect server needs to be able to start a container instance. However, because the connect server is public, giving the ability to directly start containers from this server is a security risk. These functions are intended to sit between the connect server and ACI; the connect server will make a request to one of the Function endpoints, which in turn will manage container instances.
Functions are deployed to Azure Functions via GitHub actions - commiting to the main
branch will trigger a deployment.