This repo deploys Azure FunctionApp, Application Insights, Storage Account, and AppService infrastructure (resources). You can also combine this repo with deploying your own function code if you know how, read the steps below before running your own CI pipeline.
DO THIS BEFORE RUNNING THE CI PIPELINE:
- Create Azure KeyVault
- Create Service Connection in Azure DevOps. Go to project settings -> service connection -> select ur service connection or make one if you dont have 1 -> edit -> copy the WHOLE subscription ID
- Go to KeyVault -> Access Policies -> + Add Access Policy -> (optional) select all for Key, Secret, and Certificate permissions -> Select principal -> paste the WHOLE subscription ID in the select a principal search box -> you should find the service connection you created in step 2 then click add
- Push this repo into ur Azure DevOps repo
- Change lines 3,4,5,27,61 to your own settings (IMPORTANT)