Azure Functions

Darragh Martin 86 Reputation points
2022-08-22T14:37:44.097+00:00

can we automatically create a pipeline for each new function thats created ie fully automate the lot?
don't know if its possible

i can set up the azure function with bicep template or manually create one but was wondering that after one is created, is there a way that it can automatically create a pipeline for it? I'm sure that a certain pipeline needs to be created first but you could use it with any other new function app that is created that would create a pipeline for it?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,216 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Udaiappa Ramachandran 726 Reputation points MVP
    2022-08-22T16:39:30.32+00:00

    Hello @Darragh Martin ,
    You can automate the infrastructure creation using the YAML DevOps pipeline using "ARM template deployment"

    1. Create your functions
    2. Create ARM templates (or use Bicep to trans pile ARM) with parameters so that you can pass in the values as arguments
    3. Check-in your ARM Templates and Code
    4. Create a Pipeline to use ARM Template (to use the template created above step) and Deploy your code
    5. 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

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/add-template-to-azure-pipelines?WT.mc_id=AZ-MVP-5004665

    0 comments No comments