I have a project with X number of azure functions. For load balancing and other issues I Need to deploy these azure functions across different resource groups.
Also I need to deploy only some functions on some resource groups.
Let's say I have project FunctionsTest with 5 azure functions (let's call them A, B, C, D, E)
I have also Resource group 1, 2, and 3.
I want to deploy Function A,B and C, on resource group 1,2,3. I want to deploy D only on resource group 2. I want to deploy E only on resource group 3 (so thet it will have all the 5 functions)
Result: Resource group 1-> Functions A,B,C
Resource group 2-> Functions A,B,C,D
Resource group 3-> Functions A,B,C,D,E
Function app name is not a problem the addres xxxx.azurefunctions.net is already unique because I have a Function App Service (where you deploy and manage functions) with an unique name for each of the resource group, so it would be just a matter of finding how to do this or create a publish profile on visual studio that does what I need.
Thank you