Hello @Darragh Martin ,
You can automate the infrastructure creation using the YAML DevOps pipeline using "ARM template deployment"
- Create your functions
- Create ARM templates (or use Bicep to trans pile ARM) with parameters so that you can pass in the values as arguments
- Check-in your ARM Templates and Code
- Create a Pipeline to use ARM Template (to use the template created above step) and Deploy your code
- Repeat Pipeline for each function (You can copy the YAML script and pate to create a new pipeline with new parameters)
Here is the link from Microsoft Documentation