Set Up Your Harness Account for Azure Blueprint
The first step in integrating your Blueprint definitions into Harness is setting up the necessary Harness account components: Delegates, Cloud Providers, and Source Repo Providers.
This topic describes how to set up these components for Blueprint.
Once you set your account for Blueprint, you can begin integrating your Blueprint definitions. See Add Azure Blueprints to Harness.
In this topic:
- Before You Begin
- Step 1: Install a Harness Delegate
- Step 2: Set Up the Azure Cloud Provider
- Step 3: Set Up Source Repo Provider
Before You Begin
- Harness Key Concepts
- Get an overview of provisioning with Blueprint in Azure ARM and Blueprint Provisioning with Harness.
- Delegate Installation and Management
- Add Cloud Providers
- Add Source Repo Providers
Step 1: Install a Harness Delegate
A Harness Delegate performs the Blueprint provisioning in your Blueprint definitions. When installing the Delegate for your Blueprint provisioning, consider the following:
- The Delegate must also be able to connect to your definition repo. The Delegate will pull the definition at deployment runtime.
- All Harness Delegates types can use Blueprint.
To install a Delegate, follow the steps in Delegate Installation and Management. Once you install the Delegate and it registers with Harness, you'll see it on the Harness Delegates page.
Step 2: Set Up the Azure Cloud Provider
A Harness Azure Cloud Provider connects to your Azure subscription using your Client ID and Tenant ID.
Follow the steps in Add Microsoft Azure Cloud Provider to connect Harness to Azure.
The Azure service account for the Azure Cloud Provider will need the roles required for the Azure resources you are provisioning.
See Azure Blueprint in Add Microsoft Azure Cloud Provider.
Step 3: Set Up Source Repo Provider
Harness pulls Azure Blueprint definitions from a Git repo, such as GitHub.
Add a Harness Source Repo Provider to connect Harness to the Git account/repo for your blueprints.
If Source Repo Provider connects to a Git account, you can specify the repo in each Infrastructure Provisioner that uses that Source Repo Provider.