Phase 2 - Bootstrap
InfoIf you prefer more control over the configuration process, see the Advanced Usage guide for manual configuration.
Follow these instructions to bootstrap your Version Control System and Azure ready to deploy your Platform landing zone.
The simplest way to get started is to use the interactive wizard which guides you through all the required inputs.
Run the following command to install or update the ALZ PowerShell module:
$alzModule = Get-InstalledPSResource -Name ALZ 2>$null if (-not $alzModule) { Install-PSResource -Name ALZ } else { Update-PSResource -Name ALZ }Run the accelerator with no parameters to start the interactive wizard:
Deploy-AcceleratorThe wizard will guide you through a series of prompts to collect the necessary information for your bootstrap configuration. Provide the required inputs based on your preferences for infrastructure as code, version control system, and other settings.
InfoThe interactive mode wizard only completes the bootstrap configuration file (inputs.yaml) for you. You will still need to review and update your platform landing zone configuration file with the required region values before proceeding with the deployment. The wizard will prompt you to do this after it completes the bootstrap configuration.After configuration, the wizard offers to open VS Code for final review of your configuration files. You MUST update your platform landing zone configuration file at this stage before proceeding.
- Open your bootstrap configuration file in VS Code. The file is located at
./config/inputs.yamlin your target directory. - Review the bootstrap configuration settings and ensure they are correct.
- Save any changes to the configuration file.
- Open the relevant section below for the platform landing zone configuration file:
WarningDo not continue until you have updated your platform landing zone configuration file with the required values. You must supply the regions for your platform landing zone deployment in this file before the bootstrap can proceed.- Open your bootstrap configuration file in VS Code. The file is located at
Type
yeswhen prompted to continue with deployment, ornoto exit and configure later.Once it generates the plan, hit enter to deploy the bootstrap.
TipYou can now update yourAzure Landing Zone Terraform Accelerator Runner RegistrationGitHub PAT (token-2) to restrict it to the main repository created by the bootstrap.For Bicep only, clone your newly created repository to your local machine and make any changes required to the parameter files. See the Bicep getting started guide for more information on customizing the parameter files. Commit and push any changes to your repository. For the local file system option, you can make changes directly in the output folder.
Now head to Phase 3.
