If you'd like to use an Azure Pipeline to deploy the ACA Landing Zone Accelerator, you will need:
- A fork of the ACA Landing Zone repository
- An Azure DevOps project
- A service connection available for your pipeline that connects to your Azure subscription
- A variable group called "ACA-LZA" that contains the following variables:
- location: The location of where you want the Azure resources deployed
- azureServiceConnection: the name of the service connection you created in the previous step
After you've created the items in the previous step, follow these instructions for creating your pipeline.
- Navigate into your Azure DevOps projects and click on Pipelines on the left sidebar.
- Click New Pipeline in the upper right hand corner of the window or the create pipeline button in the middle if this is your first pipeline.
- Select GitHub as the source for your YAML.
- Select your repository in GitHub. If you don't already have the Azure Pipeline app installed in your GitHub repository, it will prompt you to enable that and redirect you back to this creation screen.
- Select Existing Azure Pipelines YAML file, select the main branch and the file lza-deployment-bicep.yaml.
- Once you select the file, hit next and then click Run in the upper right hand corner of the Review tab. If you don't want to run it immediately, you can click the dropdown on the Run button and choose to save it.
When you first run your pipeline, you may need to give the pipeline permission to access the service connection and the variable group. This will only occur the first time you run the pipeline.