-
Notifications
You must be signed in to change notification settings - Fork 39
[User Guide] Quick Start Phase 3
Phase 3 of the accelerator is to run pipeline. Follow the steps below to do that.
Now you have created your bootstrapped environment you can deploy you Azure landing zone by triggering the continuous delivery pipeline in your version control system.
Note
If you encounter permission errors while running the pipelines, please note that it may take some time for permissions to fully propagate. Although the pipelines include retry logic to manage this, it can sometimes take up to 30 minutes for the permissions to take effect.
- Navigate to dev.azure.com and sign in to your organization.
- Navigate to your project.
- Click
Pipelines
in the left navigation. - Click the
02 Azure Landing Zones Continuous Delivery
pipeline. - Click
Run pipeline
in the top right. - Take the defaults and click
Run
. - Your pipeline will run a
plan
. - If you provided
apply_approvers
to the bootstrap, it will prompt you to approve theapply
stage. - Your pipeline will run an
apply
and deploy an Azure landing zone based on the starter module you choose.
- Navigate to github.com.
- Navigate to your repository.
- Click
Actions
in the top navigation. - Click the
02 Azure Landing Zones Continuous Delivery
pipeline in the left navigation. - Click
Run workflow
in the top right, then keep the default branch and clickRun workflow
. - Your pipeline will run a
plan
. - If you provided
apply_approvers
to the bootstrap, it will prompt you to approve theapply
job. - Your pipeline will run an
apply
and deploy an Azure landing zone based on the starter module you choose.
Follow the steps below to deploy the landing zone locally. If you want to hook it up to you custom version control system, follow their documentation on how to that.
The Bicep option outputs a deploy-local.ps1
file that you can use to deploy the ALZ.
NOTE: If you set the
grant_permissions_to_current_user
input tofalse
in the bootstrap, you will need to set permissions on your management group and subscriptions before the commands will succeed.
- Ensure you have the latest versions of the AZ PowerShell Module and Bicep installed.
- Open a new PowerShell Core (pwsh) terminal or use the one you already have open.
- Navigate to the directory shown in the
module_output_directory_path
output from the bootstrap. - Login to Azure using
Connect-AzAccount -TenantId 00000000-0000-0000-0000-000000000000 -SubscriptionId 00000000-0000-0000-0000-000000000000
. - (Optional) Examine the
./scripts/deploy-local.ps1
to understand what it is doing. - Run
./scripts/deploy-local.ps1
. - A what if will run and then you'll be prompted to check it and run the deploy.
- Type
yes
and hit enter to run the deploy. - The ALZ will now be deployed, this may take some time.
The Terraform option outputs a deploy-local.ps1
file that you can use to deploy the ALZ.
NOTE: If you set the
grant_permissions_to_current_user
input tofalse
in the bootstrap, you will need to set permissions on your management group, subscriptions and storage account before the commands will succeed.
- Open a new PowerShell Core (pwsh) terminal or use the one you already have open.
- Navigate to the directory shown in the
module_output_directory_path
output from the bootstrap. - (Optional) Ensure you are still logged in to Azure using
az login --tenant 00000000-0000-0000-0000-000000000000
. - (Optional) Connect to your target subscription using
az account set --subscription 00000000-0000-0000-0000-000000000000
. - (Optional) Examine the
./scripts/deploy-local.ps1
to understand what it is doing. - Run
./scripts/deploy-local.ps1
. - A plan will run and then you'll be prompted to check it and run the deploy.
- Type
yes
and hit enter to run the deploy. - The ALZ will now be deployed, this may take some time.
This wiki is being actively developed
If you discover any documentation bugs or would like to request new content, please raise them as an issue or feel free to contribute to the wiki via a pull request. The wiki docs are located in the repository in the docs/wiki/
folder.
- Home
-
User guide
- Getting started
- Quick Start
- Starter Modules
- Input Files
- Azure DevOps Bicep Complete
- Azure DevOps Terraform Complete Multi Region
- Azure DevOps Terraform Financial Services Industry Landing Zone
- Azure DevOps Terraform Sovereign Landing Zone
- Azure DevOps Terraform Basic
- Azure DevOps Terraform Hub Networking
- Azure DevOps Terraform Complete
- GitHub Bicep Complete
- GitHub Terraform Complete Multi Region
- GitHub Terraform Financial Services Industry Landing Zone
- GitHub Terraform Sovereign Landing Zone
- GitHub Terraform Basic
- GitHub Terraform Hub Networking
- GitHub Terraform Complete
- Local Bicep Complete
- Local Terraform Complete Multi Region
- Local Terraform Financial Services Industry Landing Zone
- Local Terraform Sovereign Landing Zone
- Local Terraform Basic
- Local Terraform Hub Networking
- Local Terraform Complete
- Frequently Asked Questions
- Upgrade Guide
- Advanced Scenarios
- Troubleshooting
- Contributing