title: Deploy an Azure Function using azurerm_function_app_function
body: <p>I have created a new C# Azure Function (<code>EventHub trigger</code>) and added my own logic to handle the events that come in. My issue is that I am not sure how to deploy this new app via terraform. I have created a <code>azurerm_function_app_function</code> resource, and from reading the terraform docs I can see that I can add a file (<a href="https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/function_app_function#file" rel="nofollow noreferrer">https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/function_app_function#file</a>) however, for a CSharp project, that's not using csx, I don't see how this can be used.</p>
  <p>Is there a way to deploy a C# application using terraform, or should I split these components up, and have terraform create the <code>azurerm_function_app_function</code> and then have a pipeline that uploads my code to the function?</p>