Skip to content

1. Prerequisites

Ensure you have Azure CLI installed and working

Most of the initial infrastructure elements can be created manually, using the Azure Portal. However, to ensure that these steps are easily reproducible and don't depend on the evolving nature of the UI of Azure Portal, cli versions will be provided here. As such, Azure CLI (az) needs to be available and configured.

Installation can be done by following the instructions available here.

Once installed, the following command should output the current version of the system

    az --version

Connect to the Azure Subscription

To perform any of the setup steps, you will need to make sure you are connected to the right Azure Subscription.

The first step is to be authenticated with your Azure account, using the following command:

    az login

This will trigger the authentication flow as configured at the organisation / subscription level. More details and support for this can be found here.

In case your account has access to multiple subscriptions, ensure you are selecting the right one, by running the following command:

    az account set --subscription '<subscription-id>'

Example:

    az account set --subscription '35ddf877-eb02-420f-97e8-81f584388517'

At any time, the current subscription can be checked with the following command:

    az account show

Ensure you have Terraform installed and working

...