azure-functions-event-grid-terraform icon indicating copy to clipboard operation
azure-functions-event-grid-terraform copied to clipboard

Deploying several azurerm_function_app

Open JuanFcoMiranda opened this issue 3 years ago • 3 comments

Hello, it's really helpfull this repo, but I have a doubt, could we use it to deploy several azurerm_function_app at the same time??

Kind regards.

JuanFcoMiranda avatar Jan 17 '22 14:01 JuanFcoMiranda

Yes you can use this approach - I would put multiple references of the function module in the main.tf, passing different values to each, for each app you would like to deploy.

hannesne avatar Feb 08 '22 23:02 hannesne

Thank you very much, and another question, could I assign a event suscription and a function to every topic?

JuanFcoMiranda avatar Feb 09 '22 13:02 JuanFcoMiranda

Yes, again, you would replicate the part that does the assignment for each topic\function combination, as long as you don't exceed the limits imposed by event grid, as described here: https://docs.microsoft.com/en-us/azure/event-grid/quotas-limits

hannesne avatar Feb 10 '22 21:02 hannesne