Pre-deployment steps
Info
See Environment variables for full details of the deployment related variables.
Set environment configuration variables of shared management resources
-
In this part we will setup configuration variables in
config.yamlfile for the shared management infrastructure which is used to support the deployment of one or more Azure TRE instances. -
Provide the values for the following variables:
Variable Description locationThe Azure location (region) for all resources. E.g., westeuropemgmt_resource_group_nameThe shared resource group for all management resources, including the storage account. mgmt_storage_account_nameThe name of the storage account to hold the Terraform state and other deployment artifacts. acr_nameA globally unique name for the Azure Container Registry (ACR) that will be created to store deployment images. arm_subscription_idThe Azure subscription ID for all resources. Tip
To retrieve your Azure subscription ID, use the
azcommand line interface available in the development container. In the terminal window in Visual Studio Code, typeaz loginfollowed byaz account showto see your default subscription. Please refer toaz account -helpfor further details on how to change your active subscription.
The rest of the variables can have their default values. You should now have a management section in the config.yaml file that looks similar to the one below:
management:
location: westeurope
mgmt_resource_group_name: aztremgmt
mgmt_storage_account_name: aztremgmt
terraform_state_container_name: tfstate
acr_name: aztreacr
# Azure Resource Manager credentials used for CI/CD pipelines
arm_subscription_id: 12...54e
# If you want to override the currently signed in credentials
# You would do this if running commands like `make terraform-install DIR=./templates/workspaces/base`
# arm_tenant_id: __CHANGE_ME__
# arm_client_id: __CHANGE_ME__
# arm_client_secret: __CHANGE_ME__
3. If you want to disable the built-in web UI (./ui) ensure you set deploy_ui=false under tre defaults section in the config.yaml file.