Using Azure DevOps for ARM templates
Once the template is ready and we are sure that all Azure resources that are required by our application are created, we can continue with setting up automated builds and deployments. In this section, we will be creating a release pipeline on Azure DevOps to deploy our infrastructure.
In order to be able to use Azure DevOps for cloud deployments, our first action will be to create a service principal that will be used to deploy the resources. A service principal can be described as a service identity that has access to Azure resources within a certain subscription and/or resource group.
So, let's begin:
- Create a service principal by adding a new ARM service connection within the Azure DevOps project settings:
Creating the connection will create an application registration for Azure DevOps and assign this service principal the contributor role...